Fix assert.

This commit is contained in:
ccd0 2015-02-21 23:58:42 -08:00
parent 307bec856d
commit 243de1060a

View File

@ -30,7 +30,7 @@ module.exports = (grunt) ->
assert = (statement, objs...) ->
return '' unless grunt.config('pkg').tests_enabled
"throw new Error 'Assertion failed: ' + `#{json statement}` unless #{statement}"
"throw new Error 'Assertion failed: ' + #{json statement} unless #{statement}"
# Project configuration.
grunt.initConfig