Index: tests/compiler/dart2js/js_spec_string_test.dart |
diff --git a/tests/compiler/dart2js/js_spec_string_test.dart b/tests/compiler/dart2js/js_spec_string_test.dart |
index 876c87ce9b0a362be3252a6e87d1fb51476ac24f..53441776721fc8b08fea7b3d0f925fa5ba444b5a 100644 |
--- a/tests/compiler/dart2js/js_spec_string_test.dart |
+++ b/tests/compiler/dart2js/js_spec_string_test.dart |
@@ -20,7 +20,7 @@ class Listener implements DiagnosticListener { |
errorMessage = message; |
throw "error"; |
} |
- reportError(spannable, kind, arguments) { |
+ reportError(spannable, kind, [arguments]) { |
errorMessage = '$arguments'; // E.g. "{text: Duplicate tag 'new'.}" |
throw "error"; |
} |