Skip to content

Commit b9af8cb

Browse files
committed
Fix query args test typo
The function works as expected. The expected side of the test was wrong.
1 parent 294ac3b commit b9af8cb

File tree

1 file changed

+2
-2
lines changed
  • crates/devolutions-pedm/src/db

1 file changed

+2
-2
lines changed

crates/devolutions-pedm/src/db/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mod tests {
8686

8787
#[test]
8888
fn test_query_args_inline() {
89-
assert_eq!(query_args_inline_generic(2, '$'), "(1, 2)".to_owned());
90-
assert_eq!(query_args_inline_generic(3, '$'), "(1, 2, 3)".to_owned());
89+
assert_eq!(query_args_inline_generic(2, '$'), "($1, $2)".to_owned());
90+
assert_eq!(query_args_inline_generic(3, '$'), "($1, $2, $3)".to_owned());
9191
}
9292
}

0 commit comments

Comments
 (0)