diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-10-13 03:20:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 03:20:08 +0800 |
commit | e7f01818d36e92c883beb251badb045e5cdaefa7 (patch) | |
tree | 42db65f6de53c1d74de1a52d50d1a546dc9fdcd6 /spec/commands/show_doc_spec.rb | |
parent | 4f121a6a07a94dd5f7a71e75a406147d9d21568d (diff) | |
parent | f33d82779a6ecbadc6a6deb196d4477829500b1b (diff) | |
download | pry-e7f01818d36e92c883beb251badb045e5cdaefa7.tar.gz |
Merge pull request #1798 from pry/rubocop-style-hash-syntax
rubocop: fix offences of the Style/HashSyntax cop
Diffstat (limited to 'spec/commands/show_doc_spec.rb')
-rw-r--r-- | spec/commands/show_doc_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/show_doc_spec.rb b/spec/commands/show_doc_spec.rb index 43357171..59a5ad4f 100644 --- a/spec/commands/show_doc_spec.rb +++ b/spec/commands/show_doc_spec.rb @@ -419,7 +419,7 @@ describe "show-doc" do end it 'should display help for a regex command with a "listing"' do - @set.command(/bar(.*)/, "Test listing", :listing => "foo") do; end + @set.command(/bar(.*)/, "Test listing", listing: "foo") do; end expect(pry_eval('show-doc foo')).to match(/Test listing/) end |