test: cover all

This commit is contained in:
harttle
2018-08-27 23:27:42 +08:00
parent d6876bd9ec
commit 5378f2709b
9 changed files with 351 additions and 1133 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ const _engine = {
function normalizeStringArray (value) {
if (_.isArray(value)) return value
if (_.isString(value)) return [value]
return []
throw new TypeError('illegal root: ' + value)
}
export default function Liquid (options) {