Index: tests/compiler/dart2js/erroneous_element_test.dart |
diff --git a/tests/compiler/dart2js/erroneous_element_test.dart b/tests/compiler/dart2js/erroneous_element_test.dart |
index 4a588e17952e177bd742347ea080ec844fc73bf7..893dc3cb6a3f1149f5c35b999eb74e80561c3d6e 100644 |
--- a/tests/compiler/dart2js/erroneous_element_test.dart |
+++ b/tests/compiler/dart2js/erroneous_element_test.dart |
@@ -15,6 +15,6 @@ import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' |
void main() { |
ErroneousElement e = new ErroneousElementX(MessageKind.GENERIC, |
{'text': 'error'}, |
- buildSourceString('foo'), null); |
+ 'foo', null); |
Expect.stringEquals('<foo: error>', '$e'); |
} |