@@ -763,7 +763,7 @@ MDYyMDYxNTE1RTlDOEE4Cj4+CnN0YXJ0eHJlZgo4Mjc4CiUlRU9GCg==
763763
764764 assert_eq ! ( message. parts. len( ) , 1 ) ;
765765 assert_eq ! ( message. parts[ 0 ] . typ, Viewtype :: File ) ;
766- assert_eq ! ( message. parts[ 0 ] . msg, "Mail with inline attachment – Hello!" ) ;
766+ assert_eq ! ( message. parts[ 0 ] . msg, "Mail with inline attachment — Hello!" ) ;
767767}
768768
769769#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
@@ -846,7 +846,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAAAAABoYUP1AAAAAXNSR0IArs4c6QAAAo1JREFUKJFdkdFu
846846
847847 assert_eq ! ( message. parts. len( ) , 1 ) ;
848848 assert_eq ! ( message. parts[ 0 ] . typ, Viewtype :: Image ) ;
849- assert_eq ! ( message. parts[ 0 ] . msg, "example – Test" ) ;
849+ assert_eq ! ( message. parts[ 0 ] . msg, "example — Test" ) ;
850850}
851851
852852#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
@@ -910,7 +910,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAAAAABoYUP1AAAAAXNSR0IArs4c6QAAAo1JREFUKJFdkdFu
910910
911911 assert_eq ! ( message. parts. len( ) , 1 ) ;
912912 assert_eq ! ( message. parts[ 0 ] . typ, Viewtype :: Image ) ;
913- assert_eq ! ( message. parts[ 0 ] . msg, "Test subject – Test" ) ;
913+ assert_eq ! ( message. parts[ 0 ] . msg, "Test subject — Test" ) ;
914914}
915915
916916// Outlook specifies filename in the "name" attribute of Content-Type
@@ -976,7 +976,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAAAAABoYUP1AAAAAXNSR0IArs4c6QAAAo1JREFUKJFdkdFu
976976
977977 assert_eq ! ( message. parts. len( ) , 1 ) ;
978978 assert_eq ! ( message. parts[ 0 ] . typ, Viewtype :: Image ) ;
979- assert_eq ! ( message. parts[ 0 ] . msg, "Delta Chat is great stuff! – Test" ) ;
979+ assert_eq ! ( message. parts[ 0 ] . msg, "Delta Chat is great stuff! — Test" ) ;
980980}
981981
982982#[ test]
@@ -1199,7 +1199,7 @@ async fn test_add_subj_to_multimedia_msg() {
11991199 let msg_id = chats. get_msg_id ( 0 ) . unwrap ( ) . unwrap ( ) ;
12001200 let msg = Message :: load_from_db ( & t. ctx , msg_id) . await . unwrap ( ) ;
12011201
1202- assert_eq ! ( msg. text, "subj with important info – body text" ) ;
1202+ assert_eq ! ( msg. text, "subj with important info — body text" ) ;
12031203 assert_eq ! ( msg. viewtype, Viewtype :: Image ) ;
12041204 assert_eq ! ( msg. error( ) , None ) ;
12051205 assert_eq ! ( msg. is_dc_message, MessengerMessage :: No ) ;
@@ -1233,7 +1233,7 @@ async fn test_mime_modified_alt_plain_html() {
12331233 assert ! ( mimeparser. is_mime_modified) ;
12341234 assert_eq ! (
12351235 mimeparser. parts[ 0 ] . msg,
1236- "mime-modified test – this is plain"
1236+ "mime-modified test — this is plain"
12371237 ) ;
12381238}
12391239
@@ -1245,7 +1245,7 @@ async fn test_mime_modified_alt_plain() {
12451245 assert ! ( !mimeparser. is_mime_modified) ;
12461246 assert_eq ! (
12471247 mimeparser. parts[ 0 ] . msg,
1248- "mime-modified test – \
1248+ "mime-modified test — \
12491249 mime-modified should not be set set as there is no html and no special stuff;\n \
12501250 although not being a delta-message.\n \
12511251 test some special html-characters as < > and & but also \" and ' :)"
@@ -1260,7 +1260,7 @@ async fn test_mime_modified_alt_html() {
12601260 assert ! ( mimeparser. is_mime_modified) ;
12611261 assert_eq ! (
12621262 mimeparser. parts[ 0 ] . msg,
1263- "mime-modified test – mime-modified *set*; simplify is always regarded as lossy."
1263+ "mime-modified test — mime-modified *set*; simplify is always regarded as lossy."
12641264 ) ;
12651265}
12661266
@@ -1272,7 +1272,7 @@ async fn test_mime_modified_html() {
12721272 assert ! ( mimeparser. is_mime_modified) ;
12731273 assert_eq ! (
12741274 mimeparser. parts[ 0 ] . msg,
1275- "mime-modified test – mime-modified *set*; simplify is always regarded as lossy."
1275+ "mime-modified test — mime-modified *set*; simplify is always regarded as lossy."
12761276 ) ;
12771277}
12781278
@@ -1614,7 +1614,7 @@ async fn test_receive_eml() -> Result<()> {
16141614 ) ;
16151615 assert_eq ! (
16161616 mime_message. parts[ 0 ] . msg,
1617- "this is a classic email – I attached the .EML file" . to_string( )
1617+ "this is a classic email — I attached the .EML file" . to_string( )
16181618 ) ;
16191619 assert_eq ! (
16201620 mime_message. parts[ 0 ] . param. get( Param :: Filename ) ,
@@ -1713,7 +1713,7 @@ async fn test_tlsrpt() -> Result<()> {
17131713 assert_eq ! ( msg. parts[ 0 ] . typ, Viewtype :: File ) ;
17141714 assert_eq ! (
17151715 msg. parts[ 0 ] . msg,
1716- "Report Domain: nine.testrun.org Submitter: google.com Report-ID: <[email protected] > – This is an aggregate TLS report from google.com" 1716+ "Report Domain: nine.testrun.org Submitter: google.com Report-ID: <[email protected] > — This is an aggregate TLS report from google.com" 17171717 ) ;
17181718
17191719 Ok ( ( ) )
@@ -1774,7 +1774,7 @@ Content-Type: text/plain; charset=utf-8
17741774
17751775 assert_eq ! ( message. parts. len( ) , 1 ) ;
17761776 assert_eq ! ( message. parts[ 0 ] . typ, Viewtype :: Text ) ;
1777- // Not "Some subject – /help"
1777+ // Not "Some subject — /help"
17781778 assert_eq ! ( message. parts[ 0 ] . msg, "/help" ) ;
17791779}
17801780
0 commit comments