Skip to content

Commit a8c452a

Browse files
committed
style: use British English spelling in error_handling_tests.rs
- Changed 'parameterized' to 'parameterised' in comments (3 occurrences) - Applies CLAUDE.md guidance on British/Australian English - No functional changes to code or test identifiers - All tests pass
1 parent af0b0d7 commit a8c452a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

native/ecto_libsql/src/tests/error_handling_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ async fn test_sql_injection_attempt() {
644644
.await
645645
.unwrap();
646646

647-
// SQL injection attempt should be safely parameterized
647+
// SQL injection attempt should be safely parameterised
648648
let result = conn
649649
.execute(
650650
"INSERT INTO users (id, name) VALUES (?1, ?2)",
@@ -657,7 +657,7 @@ async fn test_sql_injection_attempt() {
657657

658658
assert!(
659659
result.is_ok(),
660-
"Parameterized query should safely insert injection string"
660+
"Parameterised query should safely insert injection string"
661661
);
662662

663663
// Verify table still exists and contains the literal string
@@ -666,7 +666,7 @@ async fn test_sql_injection_attempt() {
666666
let count = row.get::<i64>(0).unwrap();
667667
assert_eq!(
668668
count, 1,
669-
"Table should still exist with parameterized injection"
669+
"Table should still exist with parameterised injection"
670670
);
671671

672672
cleanup_test_db(&db_path);

0 commit comments

Comments
 (0)