summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-04-15 09:45:31 +0100
committerLee Jarvis <lee@jarvis.co>2011-04-15 09:45:31 +0100
commit2b4340133e908fbfbbf43a3cc8e284475db5986a (patch)
treef7ebba437866e94ffba21c1e16fa5fcf54c79824
parent9b45e1a5881d6ebf031186fc1eb8232e6828ec88 (diff)
downloadslop-2b4340133e908fbfbbf43a3cc8e284475db5986a.tar.gz
turn this into an assertion
-rw-r--r--test/commands_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/commands_test.rb b/test/commands_test.rb
index d5df8b4..4240a8a 100644
--- a/test/commands_test.rb
+++ b/test/commands_test.rb
@@ -20,7 +20,7 @@ class CommandsTest < TestCase
test 'repeating existing commands' do
slop = Slop.new
- slop.command :foo
+ assert slop.command :foo
assert_raises(ArgumentError) { slop.command :foo }
end