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

Unified Diff: dart/tests/corelib/src/ConstListLiteralTest.dart

Issue 9855018: Tweak corelib/ConstListLiteralTest while we wait for a resolution of CL 9839101. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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 | « dart/frog/leg/lib/js_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/corelib/src/ConstListLiteralTest.dart
diff --git a/dart/tests/corelib/src/ConstListLiteralTest.dart b/dart/tests/corelib/src/ConstListLiteralTest.dart
index fd52b665c3824be415aba178fcb6f0d1b811bfbe..310c79ec0ecae6e451b570fdd3b67e09cc0b9f26 100644
--- a/dart/tests/corelib/src/ConstListLiteralTest.dart
+++ b/dart/tests/corelib/src/ConstListLiteralTest.dart
@@ -53,6 +53,11 @@ class ConstListLiteralTest {
exception = null;
try {
list.copyFrom([1], 0, 0, 1);
+ } catch (NoSuchMethodException e) {
+ // TODO(ahe): While we are resolving CL 9839101, we have two
+ // cases: the VMs implementation class has a method named
+ // copyFrom, dart2js does not.
+ exception = e;
} catch (UnsupportedOperationException e) {
exception = e;
}
« no previous file with comments | « dart/frog/leg/lib/js_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698