mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-27 01:44:30 +00:00
tests: Improve test coverage of Lua scanner
* xgettext-lua-1: Test nested and unmatched brackets.
This commit is contained in:
parent
7305b20110
commit
64d460e5ea
@ -1,3 +1,8 @@
|
||||
2014-12-09 Daiki Ueno <ueno@gnu.org>
|
||||
|
||||
tests: Improve test coverage of Lua scanner
|
||||
* xgettext-lua-1: Test nested and unmatched brackets.
|
||||
|
||||
2014-12-09 Daiki Ueno <ueno@gnu.org>
|
||||
|
||||
* xgettext-vala-1: Don't copy the test program out of the test
|
||||
|
||||
@ -12,6 +12,8 @@ print(_("I said: \"This is a test.\""))
|
||||
print(_('He said: "You\'re right!"'))
|
||||
print(_([[I like brackets.]]))
|
||||
print(_([===[Brackets are awesome!]===]))
|
||||
print(_([===[==[Even nested brackets]==]===]))
|
||||
print(_([===[Or even unmached number of '=' signs]==]===]))
|
||||
print(_(hmm["nope"]))
|
||||
print({_"yep"})
|
||||
print(_["nope"])
|
||||
@ -52,6 +54,12 @@ msgstr ""
|
||||
msgid "Brackets are awesome!"
|
||||
msgstr ""
|
||||
|
||||
msgid "==[Even nested brackets]=="
|
||||
msgstr ""
|
||||
|
||||
msgid "Or even unmached number of '=' signs]=="
|
||||
msgstr ""
|
||||
|
||||
msgid "yep"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user