mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-29 07:05:12 -07:00
Consistent lack of periods in syntax errors.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ module Liquid
|
|||||||
if s = SPECIALS[c]
|
if s = SPECIALS[c]
|
||||||
[s,c]
|
[s,c]
|
||||||
else
|
else
|
||||||
raise SyntaxError, "Unexpected character #{c}."
|
raise SyntaxError, "Unexpected character #{c}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ module Liquid
|
|||||||
consume(:close_round)
|
consume(:close_round)
|
||||||
"(#{first}..#{last})"
|
"(#{first}..#{last})"
|
||||||
else
|
else
|
||||||
raise SyntaxError, "#{token} is not a valid expression."
|
raise SyntaxError, "#{token} is not a valid expression"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user