Skip to content

Commit

Permalink
Fix sqlite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Jan 8, 2024
1 parent 7db2b9f commit 42211f0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ mod relation_load_strategy {
);

macro_rules! relation_load_strategy_not_available_test {
($name:ident, $query:expr) => {
($name:ident, $query:expr $(, $attrs:expr)*) => {
paste::paste! {
#[connector_test(suite = "relation_load_strategy", schema(schema))]
#[connector_test(suite = "relation_load_strategy", schema(schema) $(, $attrs)*)]
async fn [<test_no_strategy_in_ $name>](runner: Runner) -> TestResult<()> {
let res = runner.query($query).await?;
res.assert_failure(2009, Some("Argument does not exist in enclosing type".into()));
Expand Down Expand Up @@ -407,7 +407,8 @@ mod relation_load_strategy {
count
}
}
"#
"#,
exclude(Sqlite)
);

relation_load_strategy_not_available_test!(
Expand Down

0 comments on commit 42211f0

Please sign in to comment.