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..dcae12b341166493829c49755e412f30a566e10f 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'"); |