Skip to content

Commit 20ba865

Browse files
committed
fix: cleanup
1 parent d649440 commit 20ba865

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/pg_typecheck/tests/diagnostics.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use pg_diagnostics::PrintDiagnostic;
66
use pg_test_utils::test_database::get_new_test_db;
77
use pg_typecheck::{check_sql, TypecheckParams};
88
use sqlx::Executor;
9-
use unicode_normalization::UnicodeNormalization;
109

1110
async fn test(name: &str, query: &str, setup: &str) {
1211
let test_db = get_new_test_db().await;
@@ -44,13 +43,10 @@ async fn test(name: &str, query: &str, setup: &str) {
4443

4544
let content = String::from_utf8(content).unwrap();
4645

47-
// Normalize Unicode characters
48-
let normalized = content.nfkc().collect::<String>();
49-
5046
insta::with_settings!({
5147
prepend_module_to_snapshot => false,
5248
}, {
53-
insta::assert_snapshot!(name, normalized);
49+
insta::assert_snapshot!(name, content);
5450
});
5551
}
5652

0 commit comments

Comments
 (0)