We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb29bf4 commit f7387e7Copy full SHA for f7387e7
tests/csv_data.sql
@@ -1,4 +1,4 @@
1
select 'csv' as component, ';' as separator;
2
-select 0 as id, 'Hello World 😊!' as msg
+select 0 as id, 'Hello World !' as msg
3
union all
4
-select 1 as id, 'Goodbye World 😔!' as msg;
+select 1 as id, 'Tu gères '';'' et ''"'' ?' as msg;
tests/index.rs
@@ -270,7 +270,7 @@ async fn test_csv_body() -> actix_web::Result<()> {
270
);
271
let body = test::read_body(resp).await;
272
let body_str = String::from_utf8(body.to_vec()).unwrap();
273
- assert_eq!(body_str, "id;msg\n0;Hello World 😊!\n1;Goodbye World 😔!\n");
+ assert_eq!(body_str, "id;msg\n0;Hello World !\n1;\"Tu gères ';' et '\"\"' ?\"\n");
274
Ok(())
275
}
276
0 commit comments