mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 16:25:31 +00:00
Minor warning fix in tests (#825)
This commit is contained in:
parent
88743a6361
commit
db78c50218
@ -815,7 +815,7 @@ mod tests {
|
||||
let pool = CpuBufferPool::upload(device);
|
||||
assert_eq!(pool.capacity(), 0);
|
||||
|
||||
pool.next(12);
|
||||
pool.next(12).unwrap();
|
||||
let first_cap = pool.capacity();
|
||||
assert!(first_cap >= 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user