Skip to content

Commit ad46ced

Browse files
Fix tests
1 parent 3f047bc commit ad46ced

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
key: ${{ runner.os }}-cargo-target-${{ hashFiles('Cargo.lock') }}
4242
- name: Setup Rust Toolchain
4343
uses: ./.github/actions/setup-rust
44-
- name: Run tests (ex-FlightSQL)
44+
- name: Run core tests
4545
run: |
4646
cargo test
4747
test-flightsql:

tests/cli_cases/basic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ fn test_sql_err_in_file() {
176176
.failure();
177177

178178
let expected_err =
179-
"Expected: [NOT] NULL or TRUE|FALSE or [NOT] DISTINCT FROM after IS, found: not";
179+
"Expected: [NOT] NULL | TRUE | FALSE | DISTINCT | [form] NORMALIZED FROM after IS, found: valid at Line: 1, Column: 20";
180180
assert.code(1).stderr(contains_str(expected_err));
181181
}
182182

@@ -199,7 +199,7 @@ SELECT this is not valid SQL
199199
.failure();
200200

201201
let expected_err =
202-
"Expected: [NOT] NULL or TRUE|FALSE or [NOT] DISTINCT FROM after IS, found: not";
202+
"Expected: [NOT] NULL | TRUE | FALSE | DISTINCT | [form] NORMALIZED FROM after IS, found: valid at Line: 5, Column: 20";
203203
assert.code(1).stderr(contains_str(expected_err));
204204
}
205205

0 commit comments

Comments
 (0)