mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -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]
|
||||
[s,c]
|
||||
else
|
||||
raise SyntaxError, "Unexpected character #{c}."
|
||||
raise SyntaxError, "Unexpected character #{c}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ module Liquid
|
||||
consume(:close_round)
|
||||
"(#{first}..#{last})"
|
||||
else
|
||||
raise SyntaxError, "#{token} is not a valid expression."
|
||||
raise SyntaxError, "#{token} is not a valid expression"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user