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

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

Issue 3003583002: [VM, Precompiler] PoC Obfuscator (Closed)
Patch Set: Fix bad refactoring in NewAtomicRename Created 3 years, 4 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/kernel.status ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/kernel/unsorted/nsm_dispatcher_test.dart
diff --git a/tests/kernel/unsorted/nsm_dispatcher_test.dart b/tests/kernel/unsorted/nsm_dispatcher_test.dart
index 39ed6207a0b4eb448486edca2694a70b34b3aad6..add1ece73edbc73c24ecacb6a8413102ead2e66e 100644
--- a/tests/kernel/unsorted/nsm_dispatcher_test.dart
+++ b/tests/kernel/unsorted/nsm_dispatcher_test.dart
@@ -20,12 +20,10 @@ class A {
main() {
var o = new A();
- Expect.isTrue(o.fun() == '|Symbol("fun")|');
- Expect.isTrue(o.fun(1) == '|Symbol("fun")|1|');
- Expect.isTrue(o.fun(1, 2) == '|Symbol("fun")|1|2|');
- Expect.isTrue(o.fun(1, b: 2) == '|Symbol("fun")|1|Symbol("b")/2|');
- Expect.isTrue(
- o.fun(1, a: 1, b: 2) == '|Symbol("fun")|1|Symbol("a")/1|Symbol("b")/2|');
- Expect.isTrue(
- o.fun(1, b: 2, a: 1) == '|Symbol("fun")|1|Symbol("a")/1|Symbol("b")/2|');
+ Expect.isTrue(o.fun() == '|${#fun}|');
+ Expect.isTrue(o.fun(1) == '|${#fun}|1|');
+ Expect.isTrue(o.fun(1, 2) == '|${#fun}|1|2|');
+ Expect.isTrue(o.fun(1, b: 2) == '|${#fun}|1|${#b}/2|');
+ Expect.isTrue(o.fun(1, a: 1, b: 2) == '|${#fun}|1|${#a}/1|${#b}/2|');
+ Expect.isTrue(o.fun(1, b: 2, a: 1) == '|${#fun}|1|${#a}/1|${#b}/2|');
}
« no previous file with comments | « tests/kernel/kernel.status ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698