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 0ccd7a2 commit 2c2d9b0Copy full SHA for 2c2d9b0
src/simple_api/mod.rs
@@ -2096,6 +2096,9 @@ pub(crate) mod tests {
2096
let vars = vec!["hello"; YDB_MAX_NAMES as usize + 1];
2097
let err = delete_excl_st(YDB_NOTTP, Vec::new(), &vars).unwrap_err();
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();
2102
}
2103
2104
#[test]
0 commit comments