Skip to content

Commit

Permalink
[#145] parse_insert_values 커버리지 보완
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Jul 31, 2024
1 parent 38fc2b6 commit 492fca2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/parser/test/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,17 @@ fn test_parse_insert_values() {
expected: vec![],
want_error: true,
},
TestCase {
name: "실패: Values(1,".into(),
input: vec![
Token::Values,
Token::LeftParentheses,
Token::Integer(1),
Token::Comma,
],
expected: vec![],
want_error: true,
},
TestCase {
name: "실패: Values(".into(),
input: vec![Token::Values, Token::LeftParentheses],
Expand Down

0 comments on commit 492fca2

Please sign in to comment.