Skip to content

Commit 6d41e5d

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 28441 b: refs/heads/master c: 4ffdda3 h: refs/heads/master i: 28439: 72a9dcb
1 parent 72a1357 commit 6d41e5d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • trunk/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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2000afbd914a4f64653d7019b4b45867ca86d316
2+
refs/heads/master: 4ffdda3e382001ef6bf83ee68da4ba5e1d434671
33
refs/heads/gh-pages: 9b91392095cbb68bba1a32efe7d8caeac44467d9
44
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
55
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

trunk/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)