Change regression test now that String does have operator*.

It still doesn't work for string arguments, but that's a type/argument error.

Review URL: https://codereview.chromium.org//173543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32845 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
lrn@google.com 2014-02-20 08:20:06 +00:00
parent 69145994de
commit 1439a62970

View file

@ -12,5 +12,6 @@ class A {
}
}
main() => Expect.throws(() => new A().x(1, 2),
(e) => e is NoSuchMethodError);
main() {
Expect.throws(() => new A().x(1, 2));
}