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

Unified Diff: tests/compiler/dart2js/scanner_test.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 80chars. Created 8 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: tests/compiler/dart2js/scanner_test.dart
diff --git a/tests/compiler/dart2js/scanner_test.dart b/tests/compiler/dart2js/scanner_test.dart
index 112685322026971449d84747ee8a25583ba4b438..fb198b19731a2f0c902b2bc2695a491ca2fafa9c 100644
--- a/tests/compiler/dart2js/scanner_test.dart
+++ b/tests/compiler/dart2js/scanner_test.dart
@@ -11,7 +11,7 @@ part '../../../sdk/lib/_internal/compiler/implementation/scanner/byte_array_scan
Token scan(List<int> bytes) => new ByteArrayScanner(bytes).tokenize();
-bool isRunningOnJavaScript() => 1 === 1.0;
+bool isRunningOnJavaScript() => 1 == 1.0;
Lasse Reichstein Nielsen 2012/11/12 13:10:41 This is true on the VM too, you really do need the
floitsch 2012/11/12 22:18:43 argh. done.
main() {
// Google favorite: "Îñţérñåţîöñåļîžåţîờñ".

Powered by Google App Engine
This is Rietveld 408576698