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

2주차 Test Code 작성 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

2주차 Test Code 작성 #2

wants to merge 1 commit into from

Conversation

unanchoi
Copy link
Member

@unanchoi unanchoi commented Mar 1, 2024

  • 스터디 진행하면서 작성해서, PR 상에는 10개보다 적을 수 있습니다 ~~

@unanchoi unanchoi self-assigned this Mar 1, 2024
Copy link
Member

@sung-silver sung-silver left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~

// if (!name.matches("ㅎ가-힣")) {
// throw new MemberException("한글만 가능합니다.");
// }
if (!name.matches("^[가-힣]*$")) {
Copy link
Member

Choose a reason for hiding this comment

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

정규식 이슈였군요..

@@ -74,6 +75,6 @@ private void validateNickname(final String nickname) {
}

public void updateSOPT(SOPT sopt) {
this.sopt = sopt;
this.sopt.updateSopt(sopt);
Copy link
Member

Choose a reason for hiding this comment

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

하단에 updateSopt 함수를 만들고 여기서 한번 더 실행하는 이유가 있을까요?

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.

2 participants