Skip to content

Commit

Permalink
Explicit exclusion instead of inheriting from mod
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Nov 22, 2023
1 parent 4169a09 commit e4f2bca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ mod json_filter {
Ok(())
}

#[connector_test(schema(schema), exclude(Vitess("planetscale.js")))]
#[connector_test(schema(schema), exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn string_comparison_filters(runner: Runner) -> TestResult<()> {
test_string_data(&runner).await?;

Expand Down Expand Up @@ -169,7 +169,7 @@ mod json_filter {
Ok(())
}

#[connector_test(schema(schema), exclude(Vitess("planetscale.js")))]
#[connector_test(schema(schema), exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn array_comparison_filters(runner: Runner) -> TestResult<()> {
test_array_data(&runner).await?;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mod json_filters {
schema.to_owned()
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn no_path_without_filter(runner: Runner) -> TestResult<()> {
assert_error!(
runner,
Expand Down Expand Up @@ -262,7 +262,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn array_contains(runner: Runner) -> TestResult<()> {
array_contains_runner(runner).await?;

Expand Down Expand Up @@ -371,7 +371,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn array_starts_with(runner: Runner) -> TestResult<()> {
array_starts_with_runner(runner).await?;

Expand Down Expand Up @@ -478,7 +478,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn array_ends_with(runner: Runner) -> TestResult<()> {
array_ends_with_runner(runner).await?;

Expand Down Expand Up @@ -517,7 +517,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn string_contains(runner: Runner) -> TestResult<()> {
string_contains_runner(runner).await?;

Expand Down Expand Up @@ -557,7 +557,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn string_starts_with(runner: Runner) -> TestResult<()> {
string_starts_with_runner(runner).await?;

Expand Down Expand Up @@ -596,7 +596,7 @@ mod json_filters {
Ok(())
}

#[connector_test(exclude(Vitess("planetscale.js")))]
#[connector_test(exclude(MySQL(5.6), Vitess("planetscale.js")))]
async fn string_ends_with(runner: Runner) -> TestResult<()> {
string_ends_with_runner(runner).await?;

Expand Down

0 comments on commit e4f2bca

Please sign in to comment.