Adapt multi-line test
This is the use case the more demanding: multi-line not finishing by EOL. Adapt the expect case for it.
This commit is contained in:
parent
67c19dca01
commit
4d8518bd51
1 changed files with 3 additions and 2 deletions
|
@ -134,9 +134,10 @@ func TestDomain_CheckExportFormatting(t *testing.T) {
|
|||
msgstr ""
|
||||
|
||||
msgid "myid"
|
||||
msgstr "test string"
|
||||
msgstr ""
|
||||
"test string\n"
|
||||
"with \"newline\""`
|
||||
|
||||
|
||||
if string(poBytes) != expectedOutput {
|
||||
t.Errorf("Exported PO format does not match. Received:\n\n%v\n\n\nExpected:\n\n%v", string(poBytes), expectedOutput)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue