mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 10:48:25 +00:00
Reduce number of iterations for the regexp-cache test.
Review-Url: https://codereview.chromium.org/2988103002 .
This commit is contained in:
parent
4f33acda8a
commit
a7de4384d6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue