Skip to content

Commit cf7a2cf

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 35691 b: refs/heads/autosynth-iamcredentials c: 4ffdda3 h: refs/heads/master i: 35689: 340b48c 35687: ea0863f
1 parent 831f1fe commit cf7a2cf

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • branches/autosynth-iamcredentials/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
@@ -159,7 +159,7 @@ refs/heads/pubsub-ordering-keys: 3ea3dc93288c90e1776339a2c059a076e2e2fd1d
159159
refs/tags/v0.75.0: c3673089ae09a897c1b4cf7dfe167fe4f8ab32fb
160160
refs/tags/v0.76.0: 395b016826d3ddf9cb8b34919636df15a4dbd032
161161
refs/tags/v0.77.0: 28a85a77883ccf5d48f297fd0ef3b3dca6ce01f0
162-
refs/heads/autosynth-iamcredentials: 2000afbd914a4f64653d7019b4b45867ca86d316
162+
refs/heads/autosynth-iamcredentials: 4ffdda3e382001ef6bf83ee68da4ba5e1d434671
163163
refs/heads/release-google-cloud-java-v0.78.0: fae5e980779cf0173a152636b278015b9f60ee55
164164
refs/tags/v0.78.0: 62d4bd30605ab3578f9a08d84487fb0b33ac2ff5
165165
refs/tags/v0.79.0: 82287b570708748c411d05c40f3932cff9606feb

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