mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 10:47:22 +00:00
Merge pull request #121 from andygrove/ci-fmt
Check that CI enforces rustfmt
This commit is contained in:
commit
2bef9ec30a
3 changed files with 13 additions and 2 deletions
|
@ -49,7 +49,7 @@ script:
|
|||
- travis-cargo clippy -- --all-targets --all-features -- -D warnings
|
||||
- travis-cargo build
|
||||
- travis-cargo test
|
||||
- travis-cargo --only nightly fmt -- -- --check --config-path <(echo 'license_template_path = "HEADER"')
|
||||
- cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
|
||||
|
||||
after_success:
|
||||
- cargo coveralls --verbose
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! AST types specific to CREATE/ALTER variants of [Statement]
|
||||
//! (commonly referred to as Data Definition Language, or DDL)
|
||||
use super::{display_comma_separated, DataType, Expr, Ident, ObjectName};
|
||||
|
|
|
@ -789,5 +789,4 @@ mod tests {
|
|||
//println!("------------------------------");
|
||||
assert_eq!(expected, actual);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue