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

Unified Diff: pkg/dev_compiler/test/browser/runtime_tests.js

Issue 2835743002: add an option to turn off errors from strong mode is-checks (Closed)
Patch Set: fix comment Created 3 years, 8 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
Index: pkg/dev_compiler/test/browser/runtime_tests.js
diff --git a/pkg/dev_compiler/test/browser/runtime_tests.js b/pkg/dev_compiler/test/browser/runtime_tests.js
index 6ed5f16ca2c20929172d3a06e232e8de50fc3f3b..48c31d43b631929b43f86aaabd5f6aaa35914031 100644
--- a/pkg/dev_compiler/test/browser/runtime_tests.js
+++ b/pkg/dev_compiler/test/browser/runtime_tests.js
@@ -143,6 +143,14 @@ define(['dart_sdk'], function(dart_sdk) {
suite('instanceOf', () => {
"use strict";
+ setup(() => {
+ dart_sdk.dart.failForWeakModeIsChecks(true);
+ });
+
+ teardown(() => {
+ dart_sdk.dart.failForWeakModeIsChecks(false);
+ });
+
let expect = assert.equal;
let isGroundType = dart.isGroundType;
let generic = dart.generic;
« no previous file with comments | « pkg/dev_compiler/test/browser/language_tests.js ('k') | pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698