Skip to content

Commit

Permalink
test: use t.not
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert authored and turadg committed Aug 27, 2024
1 parent 3f3a451 commit b1db5d2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,7 @@ const verifyAuctionInstance = async t => {
console.log(
`new: ${newAuctionInstance} should be different from ${oldInstance}`,
);
t.true(
newAuctionInstance !== oldInstance,
`new: ${newAuctionInstance} should be different from ${oldInstance}`,
);
t.not(newAuctionInstance, oldInstance);
};

// test.serial() isn't guaranteed to run tests in order, so we run the intended tests here
Expand Down

0 comments on commit b1db5d2

Please sign in to comment.