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

Unified Diff: tests/kernel/unsorted/symbol_literal_test.dart

Issue 2453773002: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Created 4 years, 2 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 | « tests/kernel/unsorted/switch_case_test.dart ('k') | tests/kernel/unsorted/this_capture_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/kernel/unsorted/symbol_literal_test.dart
diff --git a/pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart b/tests/kernel/unsorted/symbol_literal_test.dart
similarity index 64%
copy from pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
copy to tests/kernel/unsorted/symbol_literal_test.dart
index 233b60f899e88253c5ca472b24fd67481e550624..53af588fde53defb7cf6ecb14c2762949b08d31e 100644
--- a/pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
+++ b/tests/kernel/unsorted/symbol_literal_test.dart
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'package:expect/expect.dart';
+import 'expect.dart';
main() {
- dynamic dart = 123;
- Expect.equals(dart.toDouble(), 123.0);
+ Expect.isTrue('${#abc}' == 'Symbol("abc")');
+ Expect.isTrue('${#abc.xzy}' == 'Symbol("abc.xzy")');
}
« no previous file with comments | « tests/kernel/unsorted/switch_case_test.dart ('k') | tests/kernel/unsorted/this_capture_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698