summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jarvis <leejarvis@fastmail.com>2019-01-21 08:48:24 +0000
committerLee Jarvis <leejarvis@fastmail.com>2019-01-21 08:48:24 +0000
commitcf09f7e8af605f28f67eca73969da4639ba9b3d2 (patch)
tree3a0e49a55b283e4ac8e122878c20c647b5e8ff9b
parent90cc5b7fbf6f9e6ed31c7ed31d5afa6c8917b951 (diff)
downloadslop-cf09f7e8af605f28f67eca73969da4639ba9b3d2.tar.gz
Fix deprecation warning in tests
-rw-r--r--test/result_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/result_test.rb b/test/result_test.rb
index 30e4934..c992f40 100644
--- a/test/result_test.rb
+++ b/test/result_test.rb
@@ -83,7 +83,7 @@ describe Slop::Result do
@options.string("--hello")
@result.parser.parse %w()
- assert_equal nil, @result.fetch('hello')
+ assert_nil @result.fetch('hello')
end
end