Skip to content

Commit

Permalink
Clippy and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn committed Oct 20, 2022
1 parent af3e655 commit 2c947d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --all-features --all-targets
format:
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1906,23 +1906,23 @@ async fn re_introspecting_custom_index_order(api: &TestApi) -> TestResult {
#[test_connector(tags(Postgres))]
async fn re_introspecting_with_schemas_property(api: &TestApi) -> TestResult {
let create_schema = "CREATE SCHEMA \"first\"";
let create_table = format!("CREATE TABLE \"first\".\"A\" (id TEXT PRIMARY KEY)",);
let create_table = "CREATE TABLE \"first\".\"A\" (id TEXT PRIMARY KEY)";

api.database().raw_cmd(&create_schema).await?;
api.database().raw_cmd(&create_table).await?;
api.database().raw_cmd(create_schema).await?;
api.database().raw_cmd(create_table).await?;

let create_schema = "CREATE SCHEMA \"second\"";
let create_table = format!("CREATE TABLE \"second\".\"B\" (id TEXT PRIMARY KEY)",);
let create_table = "CREATE TABLE \"second\".\"B\" (id TEXT PRIMARY KEY)";

api.database().raw_cmd(&create_schema).await?;
api.database().raw_cmd(&create_table).await?;
api.database().raw_cmd(create_schema).await?;
api.database().raw_cmd(create_table).await?;

let input_dm = indoc! {r#"
generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}
datasource myds {
provider = "postgresql"
url = env("DATABASE_URL")
Expand Down

0 comments on commit 2c947d2

Please sign in to comment.