Skip to content

Commit fbf0616

Browse files
committed
Revert "fix: name an unaliased unary plus by its written text, as receipts record"
This reverts commit 89bcddf.
1 parent e816959 commit fbf0616

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎crates/sqlquack-rules/src/conversion/_helpers/queries/output_names.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const NAMED_KINDS: &[&str] = &[
5252
"or",
5353
"paren",
5454
"neg",
55-
"pos",
5655
"not",
5756
"is_null",
5857
"cast",

‎crates/sqlquack/tests/cli/test_output_names.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ fn given_unaliased_items_when_converted_and_run_on_duckdb_then_they_take_snowfla
6565
},
6666
ColumnNameTestCase {
6767
description: "numbers keep their written form, upper-cased",
68-
sql: "SELECT 1.50, 1e3, -2, +1, NULL, false",
68+
sql: "SELECT 1.50, 1e3, -2, NULL, false",
6969
flags: &[],
7070
expected_names: vec![
7171
"1.50".to_owned(),
7272
"1E3".to_owned(),
7373
"-2".to_owned(),
74-
"+1".to_owned(),
7574
"NULL".to_owned(),
7675
"FALSE".to_owned(),
7776
],

0 commit comments

Comments
 (0)