Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1375)

Unified Diff: test/codegen/expect/expect.js

Issue 1641643004: Roll analyzer to 0.27.2-alpha.1 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rerun tests and format Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/codegen/expect/constructors.txt ('k') | test/codegen/expect/expect/expect.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.`);
}
« no previous file with comments | « test/codegen/expect/constructors.txt ('k') | test/codegen/expect/expect/expect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698