Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index c95ad9474769c884a7247c645d7d18700adbd2d6..661dcf7521ce459ebbcc31cc63aba57cbf2f7af5 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -2023,6 +2023,9 @@ class TestUtils { |
if (compiler == "dart2js" && configuration["fast_startup"]) { |
args.add("--fast-startup"); |
} |
+ if (compiler == "dart2js" && configuration["enable_asserts"]) { |
+ args.add("--enable-asserts"); |
+ } |
if (compiler == "dart2js" && configuration["dart2js_with_kernel"]) { |
args.add("--use-kernel"); |
} |