Skip to content

Commit 31f9256

Browse files
committed
Lint fixes for import.
1 parent 9768251 commit 31f9256

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

tests/simple/testdata/network_ext.textproto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'))"

tests/simple/testdata/parse.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ section {
130130
value { int64_value: 30 }
131131
}
132132
}
133+
134+
# txtpbfmt: off
133135
section {
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+
947951
section {
948952
name: "whitespace"
949953
description: "Check that whitespace is ignored by the grammar."

0 commit comments

Comments
 (0)