Skip to content

Commit 67f1ab0

Browse files
authored
Merge pull request #101 from mobley-trent/test-select-where
2 parents 3d35a80 + 6762fe1 commit 67f1ab0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

crates/parser/src/codegen.rs

+13
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ mod tests {
9393
)
9494
}
9595

96+
#[test]
97+
fn test_select_with_where() {
98+
test_get_node_properties(
99+
"select 1 from contact where id = 1;",
100+
SyntaxKind::SelectStmt,
101+
vec![
102+
TokenProperty::from(SyntaxKind::Select),
103+
TokenProperty::from(SyntaxKind::From),
104+
TokenProperty::from(SyntaxKind::Where),
105+
],
106+
)
107+
}
108+
96109
#[test]
97110
fn test_create_domain() {
98111
test_get_node_properties(

0 commit comments

Comments
 (0)