Skip to content

Commit bfd2c7f

Browse files
committed
Fix assert
1 parent b74f5c8 commit bfd2c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-postgres/tests/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ fn copy_in_error() {
619619
.prepare("COPY foo FROM STDIN")
620620
.and_then(|s| client.copy_in(&s, &[], stream)),
621621
).unwrap_err();
622-
error.to_string().contains("asdf");
622+
assert!(error.to_string().contains("asdf"));
623623

624624
let rows = runtime
625625
.block_on(

0 commit comments

Comments
 (0)