We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2d9b0 commit fda0593Copy full SHA for fda0593
src/simple_api/mod.rs
@@ -2098,7 +2098,8 @@ pub(crate) mod tests {
2098
assert_eq!(err.status, YDB_ERR_NAMECOUNT2HI);
2099
2100
// Passing a buffer that has insufficient capacity for an error should resize the buffer
2101
- delete_excl_st(YDB_NOTTP, Vec::with_capacity(1), &["^global"]).unwrap();
+ let err = delete_excl_st(YDB_NOTTP, Vec::with_capacity(1), &["^global"]).unwrap_err();
2102
+ assert_eq!(err.status, YDB_ERR_INVVARNAME);
2103
}
2104
2105
#[test]
0 commit comments