Skip to content

Commit

Permalink
REFACT :: TestCode Exception 비교 방식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Daybreak312 committed Mar 19, 2024
1 parent d40227b commit 87ba870
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ internal class TestException(
try {
executable.execute()
} catch (caughtException: MaeumGaGymException) {
if (caughtException != e &&
caughtException.message != e.message
) {
if (caughtException.message != e.message) {
throw AssertionFailedError("")
}
thrown = true
Expand Down

0 comments on commit 87ba870

Please sign in to comment.