Skip to content

Commit

Permalink
Update test for url-quotes.js to match updated error text
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Jankord authored and Brett Jankord committed Dec 31, 2016
1 parent 3a39300 commit 6d28449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,6 +1,7 @@
# 1.1.1

- Fixed: Regex for selector-class-pattern now matches lowercase with hyphens correctly
- Fixed: Updated test for url-quotes.js to match updated error text

# 1.1.0

Expand Down
2 changes: 1 addition & 1 deletion __tests__/url-quotes.js
Expand Up @@ -21,7 +21,7 @@ test("URL quotes scss", t => {

function checkResult(result) {
t.equal(result.warnings().length, 1, "flags 1 warning")
t.is(result.warnings()[0].text, "Expected quotes around url argument (function-url-quotes)", "correct warning text")
t.is(result.warnings()[0].text, "Expected quotes (function-url-quotes)", "correct warning text")
}
})

Expand Down

0 comments on commit 6d28449

Please sign in to comment.