Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseWillden committed Nov 18, 2024
1 parent 32f77c4 commit 55f2844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion njord/tests/sqlite/select_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ fn sql_bang() {
WHERE id = {user_id}
};

assert_eq!(query.to_string(), "SELECT * FROM user WHERE id = 1");
assert_eq!(query.to_string(), "SELECT * FROM user WHERE id = '1'");

let complex_query = sql! {
SELECT a.company, COUNT(i.id) AS total_impressions, COUNT(DISTINCT i.ip_address) AS unique_impressions
Expand Down

0 comments on commit 55f2844

Please sign in to comment.