From cf09f7e8af605f28f67eca73969da4639ba9b3d2 Mon Sep 17 00:00:00 2001 From: Lee Jarvis Date: Mon, 21 Jan 2019 08:48:24 +0000 Subject: Fix deprecation warning in tests --- test/result_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.1