Minor warning fix in tests (#825)

This commit is contained in:
tomaka 2017-09-17 15:18:06 +02:00 committed by GitHub
parent 88743a6361
commit db78c50218

View File

@ -815,7 +815,7 @@ mod tests {
let pool = CpuBufferPool::upload(device); let pool = CpuBufferPool::upload(device);
assert_eq!(pool.capacity(), 0); assert_eq!(pool.capacity(), 0);
pool.next(12); pool.next(12).unwrap();
let first_cap = pool.capacity(); let first_cap = pool.capacity();
assert!(first_cap >= 1); assert!(first_cap >= 1);