Skip to content

Commit 41f86cb

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 29373 b: refs/heads/autosynth-container c: 4ffdda3 h: refs/heads/master i: 29371: a677449
1 parent 8a99d9f commit 41f86cb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • branches/autosynth-container/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
@@ -112,7 +112,7 @@ refs/tags/v0.65.0: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
112112
refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
113113
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
114114
refs/heads/autosynth-compute: c0ad4e5b54b2b167d47e508ca215c039404837d3
115-
refs/heads/autosynth-container: 2000afbd914a4f64653d7019b4b45867ca86d316
115+
refs/heads/autosynth-container: 4ffdda3e382001ef6bf83ee68da4ba5e1d434671
116116
refs/heads/autosynth-monitoring: e66569bd7358a90d17097f90cf8c70dbeeb048cf
117117
refs/heads/autosynth-pubsub: 8aac5a6202d83e8d67f5cb1d58f0adf9f2622aeb
118118
refs/heads/autosynth-video-intelligence: 82b145665822830c46d47eb8925edb2d842d6815

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