Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 6f5987858fc1d46456b0e068171ce2e9c7008ad5..c198012667a29f0af9a458928645d19b54aac559 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -136,13 +136,13 @@ testPatchFunction() { |
testPatchVersioned() { |
- String oldPatch = "test(){return 'string';}"; |
- String newPatch = "test(){return 'new and improved string';}"; |
+ String fullPatch = "test(){return 'string';}"; |
+ String lazyPatch = "test(){return 'new and improved string';}"; |
String patchSource = |
""" |
- @patch_old $oldPatch |
- @patch_new $newPatch |
+ @patch_full $fullPatch |
+ @patch_lazy $lazyPatch |
"""; |
test(String patchVersion, |
@@ -192,11 +192,11 @@ testPatchVersioned() { |
})); |
} |
- test('old', patchText: oldPatch); |
- test('new', patchText: newPatch); |
+ test('full', patchText: fullPatch); |
+ test('lazy', patchText: lazyPatch); |
test('unknown', expectIsPatched: false, |
expectedError: 'External method without an implementation.'); |
- test('old', |
+ test('full', |
defaultPatch: "@patch test(){}", |
expectedInternalError: "Trying to patch a function more than once."); |
} |