Fix assert

This commit is contained in:
Steven Fackler 2018-08-12 20:49:59 -06:00
parent b74f5c80d0
commit bfd2c7f436

View File

@ -619,7 +619,7 @@ fn copy_in_error() {
.prepare("COPY foo FROM STDIN")
.and_then(|s| client.copy_in(&s, &[], stream)),
).unwrap_err();
error.to_string().contains("asdf");
assert!(error.to_string().contains("asdf"));
let rows = runtime
.block_on(