aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastian Poeplau <sebastian.poeplau@eurecom.fr>2018-08-07 14:48:22 +0200
committerDavid Bremner <david@tethera.net>2018-08-29 06:34:39 -0300
commit0f08bf71666c11c5d4ff675f4013cd741d4ed18e (patch)
treed19f98e2616dc678429a66e58ecaac29777f96c1 /test
parent7074bb8f80440362fe6d733c70390a50fc86cb30 (diff)
lib: detect mislabeled Windows-1252 parts
Use GMime functionality to detect mislabeled messages and apply the correct (Windows) encoding instead.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T300-encoding.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T300-encoding.sh b/test/T300-encoding.sh
index 4a6bfd2f..1e9d2a3d 100755
--- a/test/T300-encoding.sh
+++ b/test/T300-encoding.sh
@@ -45,7 +45,6 @@ output=$(notmuch search id:${gen_msg_id} 2>&1 | notmuch_show_sanitize)
test_expect_equal "$output" "thread:0000000000000005 2001-01-05 [1/1] Notmuch Test Suite; encodedword withoutspace (inbox unread)"
test_begin_subtest "Mislabeled Windows-1252 encoding"
-test_subtest_known_broken
add_message '[content-type]="text/plain; charset=iso-8859-1"' \
"[body]=$'This text contains \x93Windows-1252\x94 character codes.'"
cat <<EOF > EXPECTED