Skip to content
Discussion options

You must be logged in to vote

안녕하세요.
확인해본 결과, 커밋 과정에서 기본으로 제공된 test 디렉터리의 테스트케이스 파일을 수정한 것으로 보입니다.
아마도 코드 편집기나 포매터가 자동으로 개행 문자를 변경하면서, 원래 \n(LF)였던 개행 문자가 \r\n(CRLF)로 수정된 것으로 추측됩니다.

이로 인해 .expected 파일이 원본과 다르게 저장되었고, 문자 자체는 동일하더라도 마지막 바이트 차이로 인해 테스트케이스가 실패한 것입니다.
해결을 위해 원본 테스트케이스 파일을 이용하여 시도하시길 바랍니다.

  • 정상 테스트케이스 파일 (test/caesar1-enc.expected)
00000000: 524f 5656 5947 5942 564e 0a              ROVVYGYBVN.
  • 변형된 테스트케이스 파일 (test/caesar1-enc.expected)
00000000: 524f 5656 5947 5942 564e 0d0a            ROVVYGYBVN..

Hello.

After reviewing your commit, it seems that the test case file in the test directory has been modified.
It is likely that your code editor or formatter automatically changed the line endings from \n (LF)…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ksjae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants