Skip to content

Commit

Permalink
Fix Rubocop regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
lautis committed May 22, 2015
1 parent 6b62c22 commit 4079c62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/source_map_spec.rb
Expand Up @@ -87,7 +87,7 @@
end

it "appends source map url" do
minified, _ = Uglifier.compile_with_map(
minified, = Uglifier.compile_with_map(
source,
:source_filename => "ahoy.js",
:output_filename => "ahoy.min.js",
Expand All @@ -98,7 +98,7 @@
end

it "appends source url" do
minified, _ = Uglifier.compile_with_map(
minified, = Uglifier.compile_with_map(
source,
:source_filename => "ahoy.js",
:output_filename => "ahoy.min.js",
Expand Down
4 changes: 2 additions & 2 deletions spec/uglifier_spec.rb
Expand Up @@ -118,8 +118,8 @@
subject { Uglifier.compile(source, :comments => :none) }

it "omits all comments" do
expect(subject).not_to match %r{//}
expect(subject).not_to match(/\/\*/)
expect(subject).not_to match(%r{//})
expect(subject).not_to match(%r{/\*})
end
end

Expand Down

0 comments on commit 4079c62

Please sign in to comment.