Skip to content

Commit

Permalink
♻️ [fix] 길이 제한 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choyeongju committed Oct 10, 2024
1 parent f66dac3 commit 0d2b8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sopt/week1/DiaryValidator.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static void validate(final String body){
if(body.trim().isEmpty()){
throw new InvalidInputException();
}
if(body.length() >= 30){
if(body.length() > 30){
throw new DiaryBodyLengthException();
}
}
Expand Down

0 comments on commit 0d2b8b2

Please sign in to comment.