Skip to content

Commit

Permalink
Use assert_is_not() in stdlib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Mar 9, 2024
1 parent 74723d2 commit be356bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array/array.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub fn new[T](length : Int, value : () -> T) -> Array[T] {

test "new" {
let arr = new(2, fn() { { val: 1 } })
@assertion.assert_false(arr[0] === arr[1])?
@assertion.assert_is_not(arr[0], arr[1])?
}

/// Create a new array. Values are built from indexes.
Expand Down

0 comments on commit be356bb

Please sign in to comment.