Skip to content

Commit fd7e13e

Browse files
author
Drew Robinson
committed
Fix broken postcard tests
1 parent c7b1dea commit fd7e13e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libsql-server/src/rpc_postcard_tests.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ fn test_postcard_error_conversion() {
4545

4646
if let Err(e) = result {
4747
let crate_error = crate::error::Error::from(e);
48-
assert!(
49-
matches!(crate_error, crate::error::Error::Internal(msg) if msg.contains("Unexpected"))
50-
);
48+
assert!(matches!(crate_error, crate::error::Error::Internal(_)));
5149
}
5250
}

0 commit comments

Comments
 (0)