Skip to content

Commit

Permalink
add fail
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroBarillaPXL committed Oct 2, 2024
1 parent 358af33 commit 88c32de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import test from 'unit.js';
import { addNumbers, divNumbers, mulNumbers, subNumbers } from '../scripts/functions.js';

// assert that functions return the correct value
if (test.value(addNumbers(1, 2)).is(3)) {
if (test.value(addNumbers(1, 0)).is(3)) {
console.log('Test passed');
} else {
console.log('Test failed');
Expand Down

0 comments on commit 88c32de

Please sign in to comment.