api: Make some test assertions more helpful
This commit is contained in:
parent
b388202c89
commit
066d8aee7f
@ -86,7 +86,7 @@ fn invalid_uri_should_not_panic() {
|
||||
SendAccessToken::None,
|
||||
&[MatrixVersion::V1_1],
|
||||
);
|
||||
assert!(result.is_err());
|
||||
result.unwrap_err();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user