Skip to content

Commit 44b1aa5

Browse files
chore[fuzz]: use vx array assert eq macro (#5073)
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 3fcccdb commit 44b1aa5

File tree

4 files changed

+2
-22
lines changed

4 files changed

+2
-22
lines changed

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo-fuzz = true
2121
itertools = { workspace = true }
2222
libfuzzer-sys = { workspace = true }
2323
strum = { workspace = true, features = ["derive"] }
24-
vortex-array = { workspace = true, features = ["arbitrary"] }
24+
vortex-array = { workspace = true, features = ["arbitrary", "test-harness"] }
2525
vortex-btrblocks = { workspace = true }
2626
vortex-buffer = { workspace = true }
2727
vortex-dtype = { workspace = true, features = ["arbitrary"] }

fuzz/src/array/fill_null.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,12 @@ mod tests {
242242
use vortex_array::arrays::{BoolArray, DecimalArray, PrimitiveArray, VarBinViewArray};
243243
use vortex_array::compute::cast;
244244
use vortex_array::validity::Validity;
245-
use vortex_array::{Array, IntoArray};
245+
use vortex_array::{Array, IntoArray, assert_arrays_eq};
246246
use vortex_buffer::BitBuffer;
247247
use vortex_dtype::{DType, DecimalDType, Nullability, PType};
248248
use vortex_scalar::{DecimalValue, Scalar};
249249

250250
use super::fill_null_canonical_array;
251-
use crate::assert_arrays_eq;
252251

253252
#[test]
254253
fn test_fill_null_primitive() {

fuzz/src/assertions.rs

Lines changed: 0 additions & 18 deletions
This file was deleted.

fuzz/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![allow(clippy::result_large_err)]
66

77
mod array;
8-
mod assertions;
98
pub mod error;
109
mod file;
1110

0 commit comments

Comments
 (0)