Content deleted Content added
Test onerror and sub |
test gsub |
||
Line 19:
{' s1 = hello | bar | 3 | onerror = foo', 'foo'},
{' s1 = hello | 0 | | onerror = foo', 'foo'},
})
end
-- Test find/replace
function p:test_gsub()
self:preprocess_equals_sandbox_many('{{#invoke:ustring', 'gsub', {
{' hello world | world | x ', ' hello x '},
{' hello world| world | x ', ' hello world'},
})
end
|