Skip to content

Commit 7088646

Browse files
authored
---
yaml --- r: 31983 b: refs/heads/autosynth-datastore c: 23b4a3c h: refs/heads/master i: 31981: 413dca6 31979: 0765834 31975: f5a4da1 31967: fab69f9
1 parent ba4f55d commit 7088646

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ refs/heads/autosynth-bigquerystorage: a345f72d7a6358e9fea9dcdae94ec85a27da3088
127127
refs/heads/autosynth-bigtable: 2a6af7e2959fd79c99b8ca5d773f29a6434b546d
128128
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
129129
refs/heads/autosynth-containeranalysis: 18d210f81f17cf74864d0db2c29e834302f74f2a
130-
refs/heads/autosynth-datastore: e7faa7e5f16851c1616ab006d0fa51a19f91497b
130+
refs/heads/autosynth-datastore: 23b4a3c98462a3c73cd0fc2cc54af0cabcd96d7e
131131
refs/heads/autosynth-dialogflow: 841930a680ebe370c9fc6ae824465f6bc51a5a46
132132
refs/heads/autosynth-errorreporting: 3f176c20b55dfaaa8fc32f28d82b31784b93e636
133133
refs/heads/autosynth-firestore: 983c75e4fb1076502c8cac73ef0538bdb10884f3

branches/autosynth-datastore/google-cloud-clients/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ public void testEnumInstances() {
8484

8585
@Test
8686
public void testValueOf() {
87-
assertThat(Letter.valueOf("A")).isSameAs(Letter.A);
88-
assertThat(Letter.valueOf("B")).isSameAs(Letter.B);
89-
assertThat(Letter.valueOf("C")).isSameAs(Letter.C);
87+
assertThat(Letter.valueOf("A")).isSameInstanceAs(Letter.A);
88+
assertThat(Letter.valueOf("B")).isSameInstanceAs(Letter.B);
89+
assertThat(Letter.valueOf("C")).isSameInstanceAs(Letter.C);
9090
assertThat(Letter.valueOf("NonExistentLetter").toString()).isEqualTo("NonExistentLetter");
9191
}
9292

9393
@Test
9494
public void testValueOfStrict() {
95-
assertThat(Letter.valueOfStrict("A")).isSameAs(Letter.A);
96-
assertThat(Letter.valueOfStrict("B")).isSameAs(Letter.B);
97-
assertThat(Letter.valueOfStrict("C")).isSameAs(Letter.C);
95+
assertThat(Letter.valueOfStrict("A")).isSameInstanceAs(Letter.A);
96+
assertThat(Letter.valueOfStrict("B")).isSameInstanceAs(Letter.B);
97+
assertThat(Letter.valueOfStrict("C")).isSameInstanceAs(Letter.C);
9898
}
9999

100100
@Test

0 commit comments

Comments
 (0)