mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 18:00:41 -07:00
Change interpolation syntax to %{key}
This commit is contained in:
@@ -34,12 +34,4 @@ class I18nTest < Test::Unit::TestCase
|
||||
def test_sets_default_path_to_en
|
||||
assert_equal I18n::DEFAULT_LOCALE, I18n.new.path
|
||||
end
|
||||
|
||||
def test_escaping_of_symbols
|
||||
assert_equal "do replaced! not :gsub", @i18n.send(:interpolate,
|
||||
'do :replace not \\:gsub',
|
||||
{
|
||||
:replace => "replaced!"
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user