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

Unified Diff: test/codegen/expect/unittest/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/unittest.js
diff --git a/test/codegen/expect/unittest/unittest.js b/test/codegen/expect/unittest/unittest.js
index 64ec0dab01916cbf944c1683618a7ce318e2a27c..dfb107ef93deb5b068a5f607c614bbd26376588c 100644
--- a/test/codegen/expect/unittest/unittest.js
+++ b/test/codegen/expect/unittest/unittest.js
@@ -46,7 +46,7 @@ dart_library.library('unittest/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