summaryrefslogtreecommitdiffstats
path: root/tests/inputs/fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inputs/fixed')
-rw-r--r--tests/inputs/fixed/fixed.json6
-rw-r--r--tests/inputs/fixed/fixed.proto10
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/inputs/fixed/fixed.json b/tests/inputs/fixed/fixed.json
new file mode 100644
index 0000000..8858780
--- /dev/null
+++ b/tests/inputs/fixed/fixed.json
@@ -0,0 +1,6 @@
+{
+ "foo": 4294967295,
+ "bar": -2147483648,
+ "baz": "18446744073709551615",
+ "qux": "-9223372036854775808"
+}
diff --git a/tests/inputs/fixed/fixed.proto b/tests/inputs/fixed/fixed.proto
new file mode 100644
index 0000000..0f0ffb4
--- /dev/null
+++ b/tests/inputs/fixed/fixed.proto
@@ -0,0 +1,10 @@
+syntax = "proto3";
+
+package fixed;
+
+message Test {
+ fixed32 foo = 1;
+ sfixed32 bar = 2;
+ fixed64 baz = 3;
+ sfixed64 qux = 4;
+}