From 260bb7c3f3a679f5f3aa72b22e729eebceefe8fc Mon Sep 17 00:00:00 2001 From: Emma Castor Date: Thu, 14 Apr 2016 16:04:41 -0700 Subject: [PATCH] binary: Add invalid edge case tests. Closes #275 --- exercises/binary/binary_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/binary/binary_test.rb b/exercises/binary/binary_test.rb index 310c12c326..67c92628c8 100755 --- a/exercises/binary/binary_test.rb +++ b/exercises/binary/binary_test.rb @@ -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