| Index: test/codegen/expect/expect.js
|
| diff --git a/test/codegen/expect/expect.js b/test/codegen/expect/expect.js
|
| index d538e880b99669915e76d983e6531736d05d6137..c1b8821780a17ea6079540eaf24aefcb19e5b30f 100644
|
| --- a/test/codegen/expect/expect.js
|
| +++ b/test/codegen/expect/expect.js
|
| @@ -56,7 +56,7 @@ dart_library.library('expect', null, /* Imports */[
|
| if (dart.equals(expected, actual)) return;
|
| let msg = Expect._getMessage(reason);
|
| if (typeof expected == 'string' && typeof actual == 'string') {
|
| - let stringDifference = Expect._stringDifference(dart.as(expected, core.String), dart.as(actual, core.String));
|
| + let stringDifference = Expect._stringDifference(expected, actual);
|
| if (stringDifference != null) {
|
| Expect._fail(`Expect.equals(${stringDifference}${msg}) fails.`);
|
| }
|
|
|