Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 22, 2017
1 parent 4e7e400 commit ce49687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S32-num/is-prime.t
Expand Up @@ -10,7 +10,7 @@ Basic tests for the is-prime() builtin
=end pod

# I know the all the 45724385972894572891 tests seem repetitious, but
# I know the all the 45724385972894572891 tests seem repetitious, but
# I am seeing inconsistent results on my Rakudo build, and I am hoping
# these repeated tests might help track it down.

Expand All @@ -19,10 +19,10 @@ nok 45724385972894572891.is-prime, "45724385972894572891 is still not prime";
nok 45724385972894572891.is-prime, "45724385972894572891 is still not prime";
nok 45724385972894572891.is-prime, "45724385972894572891 is still not prime";

is (1..100).grep(*.is-prime),
is (1..100).grep(*.is-prime),
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97),
"Method form gets primes < 100 correct";
is (1..100).grep({ is-prime($_) }),
is (1..100).grep({ is-prime($_) }),
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97),
"Sub form gets primes < 100 correct";

Expand Down

0 comments on commit ce49687

Please sign in to comment.