Skip to content

Commit d60f640

Browse files
authored
Update test case for invalid angle handling
1 parent 80bcd7d commit d60f640

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/1-get-angle-type.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test(`should return "Reflex angle" when (180 < angle < 360)`, () => {
3737
});
3838

3939
// Case 6: Invalid angles
40-
test(`should return "Invalid angle" when angle is not greater than 0`, () => {
40+
test(`should return "Invalid angle" when angle <= 0`, () => {
4141
expect(getAngleType(-1)).toEqual("Invalid angle");
4242
expect(getAngleType(0)).toEqual("Invalid angle");
4343
});

0 commit comments

Comments
 (0)