aboutsummaryrefslogtreecommitdiff
path: root/tests/gotext.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-15 07:40:15 -0300
committerEuAndreh <eu@euandre.org>2025-05-15 07:40:15 -0300
commite02a0b9480d2424d52db578ee96df8c5160bb0fc (patch)
treef45837358e18d329908d63f48303c4df276b2372 /tests/gotext.go
parentUse LC_MESSAGES for tests (diff)
downloadgotext-e02a0b9480d2424d52db578ee96df8c5160bb0fc.tar.gz
gotext-e02a0b9480d2424d52db578ee96df8c5160bb0fc.tar.xz
Remove "MIME-Version" extra header
Diffstat (limited to 'tests/gotext.go')
-rw-r--r--tests/gotext.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gotext.go b/tests/gotext.go
index 2b8c683..db7d767 100644
--- a/tests/gotext.go
+++ b/tests/gotext.go
@@ -203,7 +203,6 @@ func main() {
const expectedRaw = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: %s:4
@@ -236,7 +235,6 @@ func test_writePotFile() {
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#. foo
@@ -269,7 +267,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#. comment1
@@ -298,7 +295,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: fname:2
@@ -326,7 +322,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: fname:2
@@ -355,7 +350,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: fname:2
@@ -385,7 +379,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: fname:2
@@ -414,7 +407,6 @@ msgstr[1] ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#. foo
@@ -450,7 +442,6 @@ msgstr ""
const expected = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: fname:2
@@ -492,7 +483,6 @@ func main() {
const expectedRaw = `msgid ""
msgstr ""
"Language: \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: %[1]s:4