Reduce number of iterations for the regexp-cache test.

Review-Url: https://codereview.chromium.org/2988103002 .
This commit is contained in:
Florian Loitsch 2017-07-28 22:21:56 +02:00
parent 4f33acda8a
commit a7de4384d6

View file

@ -8,8 +8,8 @@
import "package:expect/expect.dart";
void main() {
for (int j = 1; j < 50; j++) {
for (int i = 0; i < 20 * j; i++) {
for (int j = 1; j < 50; j += 4) {
for (int i = 0; i < 15 * j; i++) {
var regExp = new RegExp("foo$i");
var match = regExp.firstMatch("foo$i");
Expect.isNotNull(match);