mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
[Translation][Korean] post-06 (edition-2)
Double checked the translation, and checked rendering using Zola. Contains some fixes to Korean translations of previous posts (4, 5) to ensure url points to proper sections from previous Korean translations.
This commit is contained in:
@@ -978,7 +978,7 @@ fn should_fail() {
|
||||
|
||||
이 방식의 큰 문제는 바로 테스트 함수를 하나밖에 쓸 수 없다는 점입니다. 패닉 핸들러가 호출된 후에는 다른 테스트의 실행을 계속할 수가 없어서, `#[test_case]` 속성이 붙은 함수가 여럿 있더라도 첫 함수만 실행이 됩니다. 이 문제의 해결책을 알고 계신다면 제게 꼭 알려주세요!
|
||||
|
||||
### 테스트 하네스 (test harness)를 쓰지 않는 테스트
|
||||
### 테스트 하네스 (test harness)를 쓰지 않는 테스트 {#no-harness-tests}
|
||||
|
||||
테스트 함수가 1개인 통합 테스트 (예: 우리의 `should_panic` 테스트)는 별도의 test_runner가 필요하지 않습니다.
|
||||
이런 테스트들은 test_runner 사용을 해제하고 `_start` 함수에서 직접 실행해도 됩니다.
|
||||
|
||||
Reference in New Issue
Block a user