From 7eab699bf9a9b9abba9dc955bb4bcca7598df431 Mon Sep 17 00:00:00 2001 From: mediumorange Date: Wed, 1 Nov 2023 23:59:22 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EA=B8=80=EC=9E=90=EC=88=98=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/racingcar/exception/InputException.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/racingcar/exception/InputException.kt b/src/main/kotlin/racingcar/exception/InputException.kt index a78210843..f70e2e82f 100644 --- a/src/main/kotlin/racingcar/exception/InputException.kt +++ b/src/main/kotlin/racingcar/exception/InputException.kt @@ -3,7 +3,7 @@ package racingcar.exception class InputException { fun validateCarName(cars: List) { for(car in cars) { - require(car.length <= 5) {ErrorCode.CHARACTERS_NUMBER_EXCEEDED.message} + require(car.length < 5) {ErrorCode.CHARACTERS_NUMBER_EXCEEDED.message} } }