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

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

Issue 1483813002: Use const for const/final top-levels, types, symbols. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 1 month 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
Index: test/codegen/expect/unittest.js
diff --git a/test/codegen/expect/unittest.js b/test/codegen/expect/unittest.js
index b5223f0c526f1ae2b11eba8e27246f40364fbaae..8a6fff1c9bc453800a08552e27af57a91bee9e0c 100644
--- a/test/codegen/expect/unittest.js
+++ b/test/codegen/expect/unittest.js
@@ -46,7 +46,7 @@ dart_library.library('unittest', null, /* Imports */[
dart.setSignature(TestFailure, {
constructors: () => ({TestFailure: [TestFailure, [core.String]]})
});
- let ErrorFormatter = dart.typedef('ErrorFormatter', () => dart.functionType(core.String, [dart.dynamic, interfaces.Matcher, core.String, core.Map, core.bool]));
+ const ErrorFormatter = dart.typedef('ErrorFormatter', () => dart.functionType(core.String, [dart.dynamic, interfaces.Matcher, core.String, core.Map, core.bool]));
function expect(actual, matcher, opts) {
let reason = opts && 'reason' in opts ? opts.reason : null;
let verbose = opts && 'verbose' in opts ? opts.verbose : false;

Powered by Google App Engine
This is Rietveld 408576698