Skip to content

Commit f7387e7

Browse files
committed
fix mssql test
1 parent cb29bf4 commit f7387e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/csv_data.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
select 'csv' as component, ';' as separator;
2-
select 0 as id, 'Hello World 😊!' as msg
2+
select 0 as id, 'Hello World !' as msg
33
union all
4-
select 1 as id, 'Goodbye World 😔!' as msg;
4+
select 1 as id, 'Tu gères '';'' et ''"'' ?' as msg;

tests/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ async fn test_csv_body() -> actix_web::Result<()> {
270270
);
271271
let body = test::read_body(resp).await;
272272
let body_str = String::from_utf8(body.to_vec()).unwrap();
273-
assert_eq!(body_str, "id;msg\n0;Hello World 😊!\n1;Goodbye World 😔!\n");
273+
assert_eq!(body_str, "id;msg\n0;Hello World !\n1;\"Tu gères ';' et '\"\"' ?\"\n");
274274
Ok(())
275275
}
276276

0 commit comments

Comments
 (0)