Skip to content

Commit e27299b

Browse files
authored
---
yaml --- r: 34077 b: refs/heads/autosynth-spanner c: 23b4a3c h: refs/heads/master i: 34075: 814017b
1 parent 95d635f commit e27299b

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
@@ -137,7 +137,7 @@ refs/heads/autosynth-language: 6130869312f99a1e7d3aa0485759172a23333cc5
137137
refs/heads/autosynth-os-login: 49028d40ac477fca5f948cc5a3ce7422729fdb67
138138
refs/heads/autosynth-redis: 2b698ebe7faaa0b93246576a88941682e0888e57
139139
refs/heads/autosynth-scheduler: a3de6480746d1cd586ca8b9d75c55a636f371539
140-
refs/heads/autosynth-spanner: e7faa7e5f16851c1616ab006d0fa51a19f91497b
140+
refs/heads/autosynth-spanner: 23b4a3c98462a3c73cd0fc2cc54af0cabcd96d7e
141141
refs/heads/autosynth-speech: 64692f6db11364f663921be02c08072b966b6e7b
142142
refs/heads/autosynth-tasks: eb03eeab747e925175890db923945384d89b273a
143143
refs/heads/autosynth-texttospeech: 2c442fe0b7f089fbab266edfe4dd83c532e82dd0

branches/autosynth-spanner/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)