Skip to content

Commit bba294b

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 33543 b: refs/heads/autosynth-os-login c: 4ffdda3 h: refs/heads/master i: 33541: 3f63cfa 33539: 9690dbe 33535: 713e2e7
1 parent 243d992 commit bba294b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • branches/autosynth-os-login/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ refs/heads/autosynth-firestore: e79eeb26930dfae4439424ad2fda5874eeca54c8
134134
refs/heads/autosynth-iot: 044be280805a59e06d09658688c9ee474a9815ad
135135
refs/heads/autosynth-kms: d31449d6621a50fb16a4bef4f30f0f3051d27d7c
136136
refs/heads/autosynth-language: 6130869312f99a1e7d3aa0485759172a23333cc5
137-
refs/heads/autosynth-os-login: 2000afbd914a4f64653d7019b4b45867ca86d316
137+
refs/heads/autosynth-os-login: 4ffdda3e382001ef6bf83ee68da4ba5e1d434671
138138
refs/heads/autosynth-redis: 6bedce4d7c7c6ca6a22e83ad1780e08fdc565a9e
139139
refs/heads/autosynth-scheduler: 57f9fdb1e7de30c85f4ec7198931a07f50603e55
140140
refs/heads/autosynth-spanner: de02ca32edea133b68b51052e325359a3704b5d2

branches/autosynth-os-login/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/UnixPathTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ public void testNormalize_trailingSlash() {
7777
@Test
7878
public void testNormalize_sameObjectOptimization() {
7979
UnixPath path = p("/hi/there");
80-
assertThat(path.normalize()).isSameAs(path);
80+
assertThat(path.normalize()).isSameInstanceAs(path);
8181
path = p("/hi/there/");
82-
assertThat(path.normalize()).isSameAs(path);
82+
assertThat(path.normalize()).isSameInstanceAs(path);
8383
}
8484

8585
@Test
@@ -95,8 +95,8 @@ public void testResolve() {
9595
@Test
9696
public void testResolve_sameObjectOptimization() {
9797
UnixPath path = p("/hi/there");
98-
assertThat(path.resolve(p(""))).isSameAs(path);
99-
assertThat(p("hello").resolve(path)).isSameAs(path);
98+
assertThat(path.resolve(p(""))).isSameInstanceAs(path);
99+
assertThat(p("hello").resolve(path)).isSameInstanceAs(path);
100100
}
101101

102102
@Test

0 commit comments

Comments
 (0)