Skip to content

Commit

Permalink
update code to fail tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPrimers committed Jun 17, 2017
1 parent 74de6a9 commit 8fdfbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/techprimers/testing/FizzBuzz.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class FizzBuzz {
public String play(int number) {

if (number == 0) throw new IllegalArgumentException("Number must not be 0");
if (number % 3 == 0) return "Fizz";
//if (number % 3 == 0) return "Fizz";
if (number % 5 == 0) return "Buzz";


Expand Down

0 comments on commit 8fdfbb7

Please sign in to comment.