summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jarvis <leejarvis@fastmail.com>2021-06-15 12:11:57 +0100
committerLee Jarvis <leejarvis@fastmail.com>2021-06-15 12:11:57 +0100
commit2033b5709f2cb3beda5c4a020b18118e859ae923 (patch)
treed824e06c5eca196c75f219d74bc57996c1e37826
parentd6a790c9013c0c39302074bbbd7ec8e15c50a8bd (diff)
downloadslop-2033b5709f2cb3beda5c4a020b18118e859ae923.tar.gz
Fix the tests
-rw-r--r--test/slop_test.rb2
1 files changed, 1 insertions, 1 deletions
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