Index: tests/corelib/regexp/norepeat_test.dart |
diff --git a/tests/lib/profiler/metrics_num_test.dart b/tests/corelib/regexp/norepeat_test.dart |
similarity index 56% |
copy from tests/lib/profiler/metrics_num_test.dart |
copy to tests/corelib/regexp/norepeat_test.dart |
index d6a6689809a6a22173425311e424e16da8f0b345..a05aad9ce3d17d3b56d0e861a9d4a1fd18ebbd10 100644 |
--- a/tests/lib/profiler/metrics_num_test.dart |
+++ b/tests/corelib/regexp/norepeat_test.dart |
@@ -1,18 +1,16 @@ |
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// |
-import 'dart:profiler'; |
+import 'util.dart'; |
import 'package:expect/expect.dart'; |
-testGaugeDouble() { |
- Expect.throws(() { |
- // max argument is not a double |
- gauge = new Gauge('test', 'alpha bravo', 1.0, 4); |
- }); |
-} |
+void main() { |
+ description( |
+ 'Test for https://bugs.webkit.org/show_bug.cgi?id=46077' |
+ ); |
-main() { |
- testGaugeDouble(); |
+ var re = new RegExp(r"^b|^cd"); |
+ var str = "abcd"; |
+ shouldBeFalse(re.hasMatch(str)); |
} |