summaryrefslogtreecommitdiff
path: root/test/option_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/option_test.rb')
-rw-r--r--test/option_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option_test.rb b/test/option_test.rb
index a8db657..4c23401 100644
--- a/test/option_test.rb
+++ b/test/option_test.rb
@@ -1,8 +1,8 @@
require 'test_helper'
describe Slop::Option do
- def option(*args)
- Slop::Option.new(*args)
+ def option(*args, **kwargs, &block)
+ Slop::Option.new(*args, **kwargs, &block)
end
describe "#flag" do