Skip to content

Commit 6769341

Browse files
committed
fixed syntax error
1 parent 3f7c3f8 commit 6769341

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function isProperFraction(numerator, denominator) {
1616
return true;
1717
} else {
1818
return false;
19+
}
1920
}
2021

2122
// The line below allows us to load the isProperFraction function into tests in other files.
@@ -46,4 +47,4 @@ assertEquals(isProperFraction(1, -2), true);
4647
// Example: -2/1 is not a proper fraction
4748
assertEquals(isProperFraction(-2, 1), false);
4849
// Example: 1/2 is not a proper fraction
49-
assertEquals(isProperFraction(-2, -1), false);
50+
assertEquals(isProperFraction(-2, -1), false);

0 commit comments

Comments
 (0)