Index: tests/compiler/dart2js/class_order_test.dart |
diff --git a/tests/compiler/dart2js/class_order_test.dart b/tests/compiler/dart2js/class_order_test.dart |
index 49ca432896baf15d0244802b7fdd61f79dbd6426..b873fe3481f02b7c607933bf565bb537bb323e32 100644 |
--- a/tests/compiler/dart2js/class_order_test.dart |
+++ b/tests/compiler/dart2js/class_order_test.dart |
@@ -32,7 +32,7 @@ void main() { |
main() { |
// Make sure that class A, B and C are emitted in that order. For simplicity |
// we just verify that their members are in the correct order. |
- RegExp regexp = new RegExp(r"foo\$0?:(.|\n)*bar\$0:(.|\n)*gee\$0:"); |
+ RegExp regexp = const RegExp(r"foo\$0?:(.|\n)*bar\$0:(.|\n)*gee\$0:"); |
String generated = compileAll(TEST_ONE); |
print(generated); |