Skip to content

Commit 5b977b5

Browse files
authored
---
yaml --- r: 7925 b: refs/heads/tswast-patch-1 c: 3f496f3 h: refs/heads/master i: 7923: affb68a
1 parent 7b59c64 commit 5b977b5

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: c68743cecffabe9181c8ab191a356f56bfb8fac1
60+
refs/heads/tswast-patch-1: 3f496f3094ee6369d8cee1d8ecc12b8fbdc5a1c4
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/StatementTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@ public void append() {
5656
assertThat(stmt.hasBinding("id")).isTrue();
5757
assertThat(stmt.hasBinding("status")).isTrue();
5858
assertThat(stmt.getParameters())
59-
.isEqualTo(ImmutableMap.of("id", Value.int64(1234), "status", Value.string("ACTIVE")));
60-
assertThat(stmt.toString()).isEqualTo(expectedSql + " {id: 1234, status: ACTIVE}");
59+
.containsExactlyEntriesIn(
60+
ImmutableMap.of("id", Value.int64(1234), "status", Value.string("ACTIVE")));
61+
assertThat(stmt.toString()).startsWith(expectedSql);
62+
assertThat(stmt.toString()).contains("id: 1234");
63+
assertThat(stmt.toString()).contains("status: ACTIVE");
6164
}
6265

6366
@Test

0 commit comments

Comments
 (0)