Skip to content

Commit 24ec96c

Browse files
cushongoogle-java-format Team
authored andcommitted
Use more inclusive language in tests
https://developers.google.com/style/inclusive-documentation PiperOrigin-RevId: 353273794
1 parent 94a1540 commit 24ec96c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

core/src/test/resources/com/google/googlejavaformat/java/testdata/B20535125.input

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Test {
55
if (!metadata.ignoreOutputTransformations()
66
&& Producers.isListenableFutureMapKey(outputKey)) {
77
ImmutableList<ProducerNode<?>> nodes = createMapNodes((ProducerNode) node);
8-
checkCollectionNodesAgainstWhitelist(nodes, whitelist);
8+
checkCollectionNodesAgainstAllowlist(nodes, allowlist);
99
return nodes;
1010

1111
} else if (!metadata.ignoreOutputTransformations()

core/src/test/resources/com/google/googlejavaformat/java/testdata/B20535125.output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Test {
44
void m() {
55
if (!metadata.ignoreOutputTransformations() && Producers.isListenableFutureMapKey(outputKey)) {
66
ImmutableList<ProducerNode<?>> nodes = createMapNodes((ProducerNode) node);
7-
checkCollectionNodesAgainstWhitelist(nodes, whitelist);
7+
checkCollectionNodesAgainstAllowlist(nodes, allowlist);
88
return nodes;
99

1010
} else if (!metadata.ignoreOutputTransformations()

core/src/test/resources/com/google/googlejavaformat/java/testdata/B20701054.input

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class B20701054 {
22
void m() {
33
ImmutableList<String> x = ImmutableList.builder().add(1).build();
4-
OptionalBinder.<ASD>newOptionalBinder(binder(), InputWhitelist.class).setBinding().to(
5-
AllInputWhitelist.class);
4+
OptionalBinder.<ASD>newOptionalBinder(binder(), InputAllowlist.class).setBinding().to(
5+
AllInputAllowlist.class);
66

77
Foo z = Foo.INSTANCE.field;
88
Foo z = Foo.INSTANCE.field.field;

core/src/test/resources/com/google/googlejavaformat/java/testdata/B20701054.output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
class B20701054 {
22
void m() {
33
ImmutableList<String> x = ImmutableList.builder().add(1).build();
4-
OptionalBinder.<ASD>newOptionalBinder(binder(), InputWhitelist.class)
4+
OptionalBinder.<ASD>newOptionalBinder(binder(), InputAllowlist.class)
55
.setBinding()
6-
.to(AllInputWhitelist.class);
6+
.to(AllInputAllowlist.class);
77

88
Foo z = Foo.INSTANCE.field;
99
Foo z = Foo.INSTANCE.field.field;

0 commit comments

Comments
 (0)