Permalink
Browse files

Fixed linting for tests

  • Loading branch information...
nvh committed Nov 2, 2016
1 parent 64cf695 commit 92c9d75df58b38fa264a7039fb0a92fa86ba882e
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/tests/UtilsTest.coffee
@@ -286,7 +286,9 @@ describe "Utils", ->
it "should work for named functions", ->
# There are no named function in coffee script
# coffeelint: disable=no_backticks
`function test(a) { return "a"; }`
# coffeelint: enable=no_backticks
Utils.inspect(test).should.equal("<Function test(a) { return \"a\"; }>")
it "should work for long functions", ->
@@ -401,7 +403,7 @@ describe "Utils", ->
Utils.isFileUrl("file:///Users/koen/Desktop/index.html").should.equal(true)
Utils.isFileUrl("http://apple.com/index.html").should.equal(false)
Utils.isFileUrl("https://apple.com/index.html").should.equal(false)
describe "isDataUrl", ->
it "should work", ->
dataUrlGif = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"

0 comments on commit 92c9d75

Please sign in to comment.