Fix corelib_2/nsm_invocation_generic_test.

Change-Id: I0906988498ad6a8d9acabc103d759bed9c01ee83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116891
Reviewed-by: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
Mayank Patke 2019-09-12 18:17:46 +00:00 committed by commit-bot@chromium.org
parent 6a2a20207a
commit 81c9fb8e63
2 changed files with 2 additions and 5 deletions

View file

@ -50,9 +50,6 @@ regexp/pcre_test: Pass, Slow # Issue 22008
[ $runtime == jsshell ]
string_case_test/01: Fail, OK # German double S.
[ $runtime != none ]
nsm_invocation_generic_test: RuntimeError # Not implemented yet. Issue 27323.
[ $runtime == safari ]
double_round3_test: Fail, OK # Runtime rounds 0.49999999999999994 to 1.
double_round_to_double2_test: Fail, OK # Runtime rounds 0.49999999999999994 to 1.

View file

@ -19,7 +19,7 @@ main() {
nsm.name<int>(arg: argument));
expectInvocation(
new Invocation.genericMethod(#name, [int], [argument], {#arg: argument2}),
nsm.name<int>(argument, arg: argument));
nsm.name<int>(argument, arg: argument2));
// Call invocation.
expectInvocation(new Invocation.genericMethod(#call, [int], []), nsm<int>());
expectInvocation(new Invocation.genericMethod(#call, [int], [argument]),
@ -29,7 +29,7 @@ main() {
nsm<int>(arg: argument));
expectInvocation(
new Invocation.genericMethod(#call, [int], [argument], {#arg: argument2}),
nsm<int>(argument, arg: argument));
nsm<int>(argument, arg: argument2));
}
dynamic nsm = new Recorder();