Skip to content

Commit

Permalink
binary: Add invalid edge case tests. Closes #275
Browse files Browse the repository at this point in the history
  • Loading branch information
casto101 committed Apr 14, 2016
1 parent 1e34cd4 commit 260bb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/binary/binary_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_binary_ignores_leading_zeros

def test_invalid_binary_numbers_raise_an_error
skip
%w(012 10nope nope10 001\ nope).each do |input|
%w(012 10nope nope10 10nope10 001\ nope 2).each do |input|
assert_raises ArgumentError do
Binary.new(input)
end
Expand Down

0 comments on commit 260bb7c

Please sign in to comment.