Skip to content

Commit

Permalink
Fix RuboCop warnings
Browse files Browse the repository at this point in the history
These snuck through because Travis didn't warn us about build failures.
  • Loading branch information
sds committed Apr 21, 2015
1 parent a038c88 commit 41e4958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/scss_lint/linter/shorthand.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# rubocop:disable Metrics/CyclomaticComplexity
module SCSSLint
# Checks for the use of the shortest form for properties that can be written
# in shorthand.
Expand Down
4 changes: 2 additions & 2 deletions spec/scss_lint/linter/comment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
end

context 'when multi-line comment is allowed by config' do
let(:linter_config) { { 'allowed' => "^[/\\* ]*Copyright" } }
let(:linter_config) { { 'allowed' => '^[/\\* ]*Copyright' } }
let(:scss) { <<-SCSS }
/* Copyright someone. */
a {
Expand All @@ -66,7 +66,7 @@
end

context 'when multi-line comment is not allowed by config' do
let(:linter_config) { { 'allowed' => "^[/\\* ]*Copyright" } }
let(:linter_config) { { 'allowed' => '^[/\\* ]*Copyright' } }
let(:scss) { <<-SCSS }
/* Other multiline. */
p {
Expand Down

0 comments on commit 41e4958

Please sign in to comment.