diff options
author | Lee Jarvis <ljjarvis@gmail.com> | 2013-03-05 15:06:28 +0000 |
---|---|---|
committer | Lee Jarvis <ljjarvis@gmail.com> | 2013-03-05 15:06:28 +0000 |
commit | 6b02be21c8c31a12ba178c5cce938b3997ddd7a5 (patch) | |
tree | 7ccaa4f84ec1ef5404fdade5af97366f9a424e6c | |
parent | 7deec9db58148ae47ce970108f0f008e2fbb2d2e (diff) | |
download | slop-6b02be21c8c31a12ba178c5cce938b3997ddd7a5.tar.gz |
avoid 1.9+ syntax in tests
-rw-r--r-- | test/slop_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/slop_test.rb b/test/slop_test.rb index a94987a..04cc95b 100644 --- a/test/slop_test.rb +++ b/test/slop_test.rb @@ -456,7 +456,7 @@ class SlopTest < TestCase assert_equal %w'--help foo bar', items items.clear temp_stdout do - Slop.parse(%w'--help foo bar', help: true) do + Slop.parse(%w'--help foo bar', :help => true) do run { |o, a| items.concat a } end assert_empty items |