From 2033b5709f2cb3beda5c4a020b18118e859ae923 Mon Sep 17 00:00:00 2001 From: Lee Jarvis Date: Tue, 15 Jun 2021 12:11:57 +0100 Subject: Fix the tests --- test/slop_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/slop_test.rb b/test/slop_test.rb index 94fe867..35c4b8e 100644 --- a/test/slop_test.rb +++ b/test/slop_test.rb @@ -13,7 +13,7 @@ describe Slop do describe ".option_defined?" do it "handles bad constant names" do - assert_equal true, Slop.option_defined?("Foo?Bar") + assert_equal false, Slop.option_defined?("Foo?Bar") end it "returns false if the option is not defined" do -- cgit v1.2.1