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

Unified Diff: test/event_test.dart

Issue 2612233003: Always serialize 64-bit integers as strings in JSON. (Closed)
Patch Set: Add test for JSON-coding of int64s Created 3 years, 11 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 | « lib/src/protobuf/json.dart ('k') | test/json_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/event_test.dart
diff --git a/test/event_test.dart b/test/event_test.dart
index cb3908ba66bd2073788d99ca41878a3826e53da4..44a4ac094f50fe99f83c585b49eee8e8a95fbafc 100644
--- a/test/event_test.dart
+++ b/test/event_test.dart
@@ -20,7 +20,7 @@ class Rec extends MockMessage with PbEventMixin {
static final _info = mockInfo("Rec", () => new Rec());
}
-Extension comment = new Extension("Rec", "comment", 5, PbFieldType.OS);
+Extension comment = new Extension("Rec", "comment", 6, PbFieldType.OS);
main() {
test('Events are sent when setting and clearing a non-repeated field', () {
@@ -224,7 +224,7 @@ main() {
clear("hello");
setComment("hello");
- r.setField(5, "hi");
+ r.setField(6, "hi");
r.deliverChanges();
checkLogOnce(log, [tag, "hello", "hi"]);
clear("hi");
« no previous file with comments | « lib/src/protobuf/json.dart ('k') | test/json_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698