Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index 4abd3e33b37292537ad96839161fef6391df0de2..8fa90308df909de2a22b9d5a827d0dd82a0af7b2 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -45,7 +45,8 @@ const String DEFAULT_HELPERLIB = r''' |
abstract class JavaScriptIndexingBehavior {} |
class JSInvocationMirror {} |
S() {} |
- assertHelper(a){}'''; |
+ assertHelper(a){} |
+ throwNoSuchMethod(obj, name, arguments, expectedArgumentNames) {}'''; |
const String DEFAULT_INTERCEPTORSLIB = r''' |
class JSArray { |