From 8fdfbb75c800a8eb2451f29def74cf39e8c970f2 Mon Sep 17 00:00:00 2001 From: TechPrimers Date: Sat, 17 Jun 2017 23:18:07 +0530 Subject: [PATCH] update code to fail tests --- src/main/java/com/techprimers/testing/FizzBuzz.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/techprimers/testing/FizzBuzz.java b/src/main/java/com/techprimers/testing/FizzBuzz.java index 752c0940..6c5da3fa 100644 --- a/src/main/java/com/techprimers/testing/FizzBuzz.java +++ b/src/main/java/com/techprimers/testing/FizzBuzz.java @@ -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";