Index: frog/tests/leg/src/TypeInferenceTest.dart |
diff --git a/frog/tests/leg/src/TypeInferenceTest.dart b/frog/tests/leg/src/TypeInferenceTest.dart |
index 863b76d7f954079e1617fcae790cacc47e374c07..cbb1c36d2ad27dec452ecbfd8afe1d398438de2e 100644 |
--- a/frog/tests/leg/src/TypeInferenceTest.dart |
+++ b/frog/tests/leg/src/TypeInferenceTest.dart |
@@ -49,14 +49,8 @@ main(a) { |
main() { |
String generated = compile(TEST_ONE, 'sum'); |
- RegExp regexp = new RegExp("i = \\(?$anyIdentifier \\+ \\(1\\)\\)?"); |
- // TODO(ngeoffray): Do live range analysis to make this test pass. |
- Expect.isFalse(regexp.hasMatch(generated)); |
- regexp = new RegExp("sum = \\(?$anyIdentifier \\+ $anyIdentifier\\)?"); |
- Expect.isTrue(regexp.hasMatch(generated)); |
- |
- regexp = const RegExp("typeof param0 !== 'number'"); |
+ Regexp regexp = new RegExp("sum = \\(?$anyIdentifier \\+ $anyIdentifier\\)?"); |
Expect.isTrue(regexp.hasMatch(generated)); |
regexp = const RegExp("typeof param1 !== 'number'"); |