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

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

Issue 1235503010: fixes #219, able to compile multiple entry points (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: pretty url Created 5 years, 5 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.txt » ('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 ff5e1d1deb8fb281eeadad6489cbb8823b663c6f..f29ab5516078c73bea2a12eded2e0237b0e6f926 100644
--- a/test/codegen/expect/expect.js
+++ b/test/codegen/expect/expect.js
@@ -66,7 +66,7 @@ dart_library.library('expect', null, /* Imports */[
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(dart.as(dart.as(dart.as(expected, core.String), core.String), core.String), dart.as(dart.as(dart.as(actual, core.String), core.String), core.String));
Jennifer Messerly 2015/07/15 21:45:15 Eeeeep. We appear to be mutating the AST. Investig
Jennifer Messerly 2015/07/15 22:31:35 aha, so this is the problem we knew we were going
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.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698