Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Nov 21, 2024
1 parent 1c8d32c commit 0acc7cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ mod test {
v0, zero, zero, zero, zero, zero, zero, zero, zero, zero, zero, zero, zero, zero, zero,
zero, zero, zero, zero, zero, zero, zero, zero, zero, zero,
];
let array1 = builder.array_constant(array_contents.clone().into(), typ.clone());
let array2 = builder.array_constant(array_contents.into(), typ.clone());
let array1 = builder.insert_make_array(array_contents.clone(), typ.clone());
let array2 = builder.insert_make_array(array_contents, typ.clone());

assert_eq!(array1, array2, "arrays were assigned different value ids");

Expand Down

0 comments on commit 0acc7cf

Please sign in to comment.