mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
format
This commit is contained in:
parent
0687d3aca8
commit
a2613f9dd1
2 changed files with 2 additions and 2 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Setup Rust
|
||||
run: |
|
||||
rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt
|
||||
rustup toolchain install stable
|
||||
rustup override set stable
|
||||
# Clippy must be run first, as its lints are only triggered during
|
||||
|
@ -21,7 +22,6 @@ jobs:
|
|||
# run: cargo clippy -- --all-targets --all-features -- -D warnings
|
||||
- name: Check formatting
|
||||
run: |
|
||||
rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt
|
||||
cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
|
|
@ -1370,7 +1370,7 @@ fn parse_simple_math_expr_minus() {
|
|||
fn parse_delimited_identifiers() {
|
||||
// check that quoted identifiers in any position remain quoted after serialization
|
||||
let select = verified_only_select(
|
||||
r#"SELECT "alias"."bar baz", "myfun"(), "simple id" AS "column alias" FROM "a table" AS "alias""#
|
||||
r#"SELECT "alias"."bar baz", "myfun"(), "simple id" AS "column alias" FROM "a table" AS "alias""#,
|
||||
);
|
||||
// check FROM
|
||||
match only(select.from).relation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue