File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ section {
1010 name: " parse_ipv4"
1111 description: " Successfully parse a standard IPv4 address"
1212 expr: " string(ip('192.168.0.1'))"
13- value: { string_value: " 192.168.0.1" }
13+ value: { string_value: " 192.168.0.1" }
1414 }
1515 test {
1616 name: " parse_invalid_ipv4"
@@ -320,7 +320,7 @@ section {
320320 name: " cidr_does_not_contain_ip_ipv4_string"
321321 expr: " cidr('192.168.0.0/24').containsIP('192.168.1.1')"
322322 value: { bool_value: false }
323- }
323+ }
324324 test {
325325 name: " cidr_contains_cidr_ipv4_object"
326326 expr: " cidr('192.168.0.0/24').containsCIDR(cidr('192.168.0.0/25'))"
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ section {
130130 value { int64_value: 30 }
131131 }
132132}
133+
134+ # txtpbfmt: off
133135section {
134136 name: "string_literals"
135137 description: "Check that string literals are properly parsed"
@@ -944,6 +946,8 @@ section {
944946 value: { bytes_value: " \\\\ \\? \\\" \\\' \\` \\a \\b \\f \\t \\v \\n \\r \\000 \\x00 \\X00 \\u0000 \\U00000000 " }
945947 }
946948}
949+ # txtpbfmt: on
950+
947951section {
948952 name: "whitespace"
949953 description: "Check that whitespace is ignored by the grammar."
You can’t perform that action at this time.
0 commit comments