aboutsummaryrefslogtreecommitdiff
path: root/advtrains/spec/poconvert_spec.lua
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2024-03-18 02:02:27 +0100
committerY. Wang <yw05@forksworld.de>2024-03-18 02:02:27 +0100
commitfc828882d7354e70ff2e51dd6dcf4ba4ee50349d (patch)
tree77c700c99f67ec5b53db83c5a0114a6974160ac7 /advtrains/spec/poconvert_spec.lua
parent0fa1045e901090cab0bee5aaa53f8740e2b121f4 (diff)
downloadadvtrains-fc828882d7354e70ff2e51dd6dcf4ba4ee50349d.tar.gz
advtrains-fc828882d7354e70ff2e51dd6dcf4ba4ee50349d.tar.bz2
advtrains-fc828882d7354e70ff2e51dd6dcf4ba4ee50349d.zip
Fix inconsistent backslash escaping
Diffstat (limited to 'advtrains/spec/poconvert_spec.lua')
-rw-r--r--advtrains/spec/poconvert_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/advtrains/spec/poconvert_spec.lua b/advtrains/spec/poconvert_spec.lua
index ef87619..7b2ceea 100644
--- a/advtrains/spec/poconvert_spec.lua
+++ b/advtrains/spec/poconvert_spec.lua
@@ -9,7 +9,7 @@ describe("PO file converter", function()
# textdomain: foo
foo=bar
baz=
-#@=wh\at\@n=@=w\as\@n
+#@=wh\at\\@n=@=w\as\\@n
multiline@nstrings=
with context?=oder doch nicht]], poconvert.from_string("foo", [[
msgid ""
@@ -22,8 +22,8 @@ msgid "baz"
msgstr ""
#, fuzzy
-msgid "=wh\\at\\\n"
-msgstr "=w\\as\\\n"
+msgid "=wh\\at\\\\\n"
+msgstr "=w\\as\\\\\n"
msgid "multi"
"line\n"