about summary refs log tree commit diff
path: root/assessments/semiprimes
diff options
context:
space:
mode:
Diffstat (limited to 'assessments/semiprimes')
-rw-r--r--assessments/semiprimes/server/test/math_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/assessments/semiprimes/server/test/math_test.exs b/assessments/semiprimes/server/test/math_test.exs
index 81c60e40667e..c7186c824a8c 100644
--- a/assessments/semiprimes/server/test/math_test.exs
+++ b/assessments/semiprimes/server/test/math_test.exs
@@ -11,10 +11,8 @@ defmodule MathTest do
         {21, [3, 7]}
       ]
       |> Enum.map(fn {input, expected} ->
-        Math.factor(input) == expected
+        assert Math.factor(input) == expected
       end)
-      |> Enum.all?()
-      |> assert
     end
 
     test "handles large numbers" do