aboutsummaryrefslogtreecommitdiff
path: root/test/lua/single-to-double-quoted.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/single-to-double-quoted.lua')
-rw-r--r--test/lua/single-to-double-quoted.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lua/single-to-double-quoted.lua b/test/lua/single-to-double-quoted.lua
index 45c184c95..b985b215c 100644
--- a/test/lua/single-to-double-quoted.lua
+++ b/test/lua/single-to-double-quoted.lua
@@ -1,7 +1,9 @@
return {
{
- SingleQuoted = function (elem)
- elem.quotetype = "DoubleQuote"
+ Quoted = function (elem)
+ if elem.quotetype == "SingleQuote" then
+ elem.quotetype = "DoubleQuote"
+ end
return elem
end,
}