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

Unified Diff: test/validate_fail_test.dart

Issue 25708003: Update the protocol buffer compiler plugin to use Int64 from the fixnum package (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 7 years, 2 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
« pubspec.yaml ('K') | « test/unknown_field_set_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/validate_fail_test.dart
diff --git a/test/validate_fail_test.dart b/test/validate_fail_test.dart
index 6b5fa67a9e227e099ced027f968c8924a02daaa0..1d652096cc0f0adc81288f03faa6b75753190f65 100755
--- a/test/validate_fail_test.dart
+++ b/test/validate_fail_test.dart
@@ -29,11 +29,11 @@ void main() {
expect(() { lUint32.add(-1); }, throwsArgumentError);
expect(() { lUint32.add(4294967296); }, throwsArgumentError);
- PbList<ByteData> lSint64 = new PbSint64List();
+ PbList<Int64> lSint64 = new PbSint64List();
expect(() { lSint64.add(-9223372036854775809); }, badArgument);
expect(() { lSint64.add(9223372036854775808); }, badArgument);
- PbList<ByteData> lUint64 = new PbUint64List();
+ PbList<Int64> lUint64 = new PbUint64List();
expect(() { lUint64.add(-1); }, badArgument);
expect(() { lUint64.add(18446744073709551616); }, badArgument);
« pubspec.yaml ('K') | « test/unknown_field_set_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698