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

Unified Diff: test/vlq_test.dart

Issue 1240863004: Upgrade to the new test runner. (Closed) Base URL: git@github.com:dart-lang/source_maps@master
Patch Set: Created 5 years, 5 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 | « test/utils_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/vlq_test.dart
diff --git a/test/vlq_test.dart b/test/vlq_test.dart
index 0abdc4795c2d99b70736f2994b7ff45dc926e5a5..d1b543da03ac480b2f7dbcd160ff5b7749653847 100644
--- a/test/vlq_test.dart
+++ b/test/vlq_test.dart
@@ -5,7 +5,7 @@
library test.vlq_test;
import 'dart:math';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:source_maps/src/vlq.dart';
main() {
@@ -49,7 +49,9 @@ main() {
expect(() => decodeVlq('igggggE'.split('').iterator), throws);
expect(() => decodeVlq('jgggggE'.split('').iterator), throws);
expect(() => decodeVlq('lgggggE'.split('').iterator), throws);
- });
+ },
+ // This test uses integers so large they overflow in JS.
+ testOn: "dart-vm");
}
_checkEncodeDecode(int value) {
« no previous file with comments | « test/utils_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698