Skip to content

Commit 005597b

Browse files
committed
Fix cop offenses
1 parent 2ea25a6 commit 005597b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/parser/argument_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ def argument(name, options = {})
5555
expect(argument(:foo, {
5656
:required => false,
5757
:type => :array,
58-
:default => ['one','two']
58+
:default => ["one","two"]
5959
}).print_default).to eq('"one" "two"')
6060
end
6161
it "prints arrays with a single string default as before" do
6262
expect(argument(:foo, {
6363
:required => false,
6464
:type => :array,
65-
:default => 'foobar'
66-
}).print_default).to eq('foobar')
65+
:default => "foobar"
66+
}).print_default).to eq("foobar")
6767
end
6868
it "prints none arrays as default" do
6969
expect(argument(:foo, {

0 commit comments

Comments
 (0)