Index: tests/compiler/dart2js/arithmetic_simplification_test.dart |
diff --git a/tests/compiler/dart2js/arithmetic_simplification_test.dart b/tests/compiler/dart2js/arithmetic_simplification_test.dart |
index 8b69d50a15c65dfc68cfc2dbd8357646c227ec48..039a844d692a2008dbca6bf1b7ee8e5215483b05 100644 |
--- a/tests/compiler/dart2js/arithmetic_simplification_test.dart |
+++ b/tests/compiler/dart2js/arithmetic_simplification_test.dart |
@@ -81,7 +81,8 @@ main() { |
asyncTest(() => Future.wait([ |
compileAndDoNotMatch(INT_PLUS_ZERO, 'main', plusZero), |
compileAndDoNotMatch(ZERO_PLUS_INT, 'main', zeroPlus), |
- compileAndMatch(NUM_PLUS_ZERO, 'main', plusZero), |
+ // TODO(johnniwinther): Find out why this doesn't work without [useMock]. |
+ compileAndMatch(NUM_PLUS_ZERO, 'main', plusZero, useMock: true), |
compileAndMatch(ZERO_PLUS_NUM, 'main', zeroPlus), |
compileAndDoNotMatch(INT_TIMES_ONE, 'main', timesOne), |
compileAndDoNotMatch(ONE_TIMES_INT, 'main', oneTimes), |