Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#145] handle_insert_query 테스트 리팩토링 및 버그 수정, 테스트케이스 추가 #147

Merged
merged 9 commits into from
Aug 1, 2024

Conversation

myyrakle
Copy link
Owner

@myyrakle myyrakle commented Jul 31, 2024

resolves: #145

설명

테스트코드 추가

@myyrakle myyrakle self-assigned this Jul 31, 2024
@myyrakle myyrakle linked an issue Jul 31, 2024 that may be closed by this pull request
Copy link

Pull reviewers stats

Stats of the last 14 days for rrdb:

User Total reviews Time to review Total comments
DPS0340
🥇
4
▀▀▀▀▀▀
17h 48m
▀▀
0
boxqkrtm
🥈
2
▀▀▀
2d 9h 13m
▀▀▀▀▀▀▀
0
wHoIsDReAmer
🥉
1
8h 3m
0

⚡️ Pull request stats

@myyrakle
Copy link
Owner Author

Total Coverage: 48.62%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 48.85%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 48.92%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 48.92%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 48.92%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 49.01%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 49.01%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 49.01%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

@myyrakle
Copy link
Owner Author

Total Coverage: 49.04%
🔗 Coverage View (최대 몇분 정도의 지연시간이 발생할 수 있습니다.)

"E0408 expected ')'. but your input word is '{:?}'",
current_token
)));
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

불필요한 지연처리 빼고 match절에서 즉시리턴

@@ -23,6 +23,10 @@ impl Parser {
}

// INTO 토큰 삼키기
if !self.has_next_token() {
return Err(ParsingError::wrap("E0410 need more tokens"));
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

패닉케이스 제거

@@ -220,7 +214,7 @@ impl Parser {
}

// 쉼표가 있으면 삼키기
if self.pick_next_token() == Token::Comma {
if self.has_next_token() && self.pick_next_token() == Token::Comma {
self.get_next_token();
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

버그 수정

@DPS0340
Copy link
Collaborator

DPS0340 commented Aug 1, 2024

@myyrakle

설명

요거 없으시면 지워주세요 ㅎ

Copy link
Collaborator

@wHoIsDReAmer wHoIsDReAmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Copy link
Collaborator

@DPS0340 DPS0340 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good 👍

@myyrakle myyrakle merged commit 3b7d1f0 into master Aug 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[test] parse::dml::insert 테스트 작성
3 participants