diff options
author | Austin Ziegler <austin@zieglers.ca> | 2021-12-23 11:14:33 -0500 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2022-07-04 20:26:10 -0400 |
commit | 63bb988f761da3fa061c9e3b5d13785477bf44c5 (patch) | |
tree | c605f55a7e5cf7f8da98f3c2677a1c47ee71ecf3 /spec | |
parent | 99af1369a86b38585f6c63e9d50ac7040932916a (diff) | |
download | diff-lcs-63bb988f761da3fa061c9e3b5d13785477bf44c5.tar.gz |
standardrb --only Layout/SpaceInsideHashLiteralBraces --fix
Diffstat (limited to 'spec')
-rw-r--r-- | spec/issues_spec.rb | 4 | ||||
-rw-r--r-- | spec/ldiff_spec.rb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/issues_spec.rb b/spec/issues_spec.rb index 26460d3..3451d71 100644 --- a/spec/issues_spec.rb +++ b/spec/issues_spec.rb @@ -60,8 +60,8 @@ describe "Diff::LCS Issues" do it "should fail with a correct error" do # standard:disable Style/HashSyntax expect { - actual = { :category => "app.rack.request" } - expected = { :category => "rack.middleware", :title => "Anonymous Middleware" } + actual = {:category => "app.rack.request"} + expected = {:category => "rack.middleware", :title => "Anonymous Middleware"} expect(actual).to eq(expected) }.to raise_error(RSpec::Expectations::ExpectationNotMetError) # standard:enable Style/HashSyntax diff --git a/spec/ldiff_spec.rb b/spec/ldiff_spec.rb index 4a08c43..cf89ada 100644 --- a/spec/ldiff_spec.rb +++ b/spec/ldiff_spec.rb @@ -7,9 +7,9 @@ RSpec.describe "bin/ldiff" do # standard:disable Style/HashSyntax fixtures = [ - { :name => "output.diff", :left => "aX", :right => "bXaX" }, - { :name => "output.diff.chef", :left => "old-chef", :right => "new-chef" }, - { :name => "output.diff.chef2", :left => "old-chef2", :right => "new-chef2" } + {:name => "output.diff", :left => "aX", :right => "bXaX"}, + {:name => "output.diff.chef", :left => "old-chef", :right => "new-chef"}, + {:name => "output.diff.chef2", :left => "old-chef2", :right => "new-chef2"} ].product([nil, "-e", "-f", "-c", "-u"]).map { |(fixture, flag)| fixture = fixture.dup fixture[:flag] = flag |