Skip to content

Commit

Permalink
ko: refresh translation for testing
Browse files Browse the repository at this point in the history
Part of #925.
  • Loading branch information
mgeisler committed Jul 10, 2023
1 parent 2f77996 commit 65ae0d6
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions po/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -9156,6 +9156,25 @@ msgid ""
"}\n"
"```"
msgstr ""
"```rust,editable\n"
"fn helper(a: &str, b: &str) -> String {\n"
" format!(\"{a} {b}\")\n"
"}\n"
"\n"
"pub fn main() {\n"
" println!(\"{}\", helper(\"Hello\", \"World\"));\n"
"}\n"
"\n"
"#[cfg(test)]\n"
"mod tests {\n"
" use super::*;\n"
"\n"
" #[test]\n"
" fn test_helper() {\n"
" assert_eq!(helper(\"foo\", \"bar\"), \"foo bar\");\n"
" }\n"
"}\n"
"```"

#: src/testing/test-modules.md:26
msgid ""
Expand Down Expand Up @@ -13250,3 +13269,75 @@ msgid ""
"}\n"
"```"
msgstr ""

#: src/testing/unit-tests.md:5
msgid ""
"```rust,editable,ignore\n"
"fn first_word(text: &str) -> &str {\n"
" match text.find(' ') {\n"
" Some(idx) => &text[..idx],\n"
" None => &text,\n"
" }\n"
"}\n"
"\n"
"#[test]\n"
"fn test_empty() {\n"
" assert_eq!(first_word(\"\"), \"\");\n"
"}\n"
"\n"
"#[test]\n"
"fn test_single_word() {\n"
" assert_eq!(first_word(\"Hello\"), \"Hello\");\n"
"}\n"
"\n"
"#[test]\n"
"fn test_multiple_words() {\n"
" assert_eq!(first_word(\"Hello World\"), \"Hello\");\n"
"}\n"
"```"
msgstr ""
"```rust,editable,ignore\n"
"fn first_word(text: &str) -> &str {\n"
" match text.find(' ') {\n"
" Some(idx) => &text[..idx],\n"
" None => &text,\n"
" }\n"
"}\n"
"\n"
"#[test]\n"
"fn test_empty() {\n"
" assert_eq!(first_word(\"\"), \"\");\n"
"}\n"
"\n"
"#[test]\n"
"fn test_single_word() {\n"
" assert_eq!(first_word(\"Hello\"), \"Hello\");\n"
"}\n"
"\n"
"#[test]\n"
"fn test_multiple_words() {\n"
" assert_eq!(first_word(\"Hello World\"), \"Hello\");\n"
"}\n"
"```"

#: src/testing/useful-crates.md:1
msgid "## Useful crates for writing tests"
msgstr "## 테스트 작성을 위한 유용한 크레이트"

#: src/testing/useful-crates.md:5
msgid "Here are some additional crates which we recommend for writing tests:"
msgstr "다음은 테스트를 작성할 때 권장되는 추가 크레이트입니다."

#: src/testing/useful-crates.md:7
msgid ""
"* [googletest](https://docs.rs/googletest): Comprehensive test assertion "
"library in the tradition of GoogleTest for C++.\n"
"* [proptest](https://docs.rs/proptest): Property-based testing for Rust.\n"
"* [rstest](https://docs.rs/rstest): Support for fixtures and parameterised "
"tests."
msgstr ""
"* [googletest](https://docs.rs/googletest): C++용 GoogleTest의 전통적 방식을 "
"채택한 포괄적인 테스트 어설션 라이브러리입니다.\n"
"* [proptest](https://docs.rs/proptest): Rust용 속성 기반 테스트입니다.\n"
"* [rstest](https://docs.rs/rstest): 픽스처 및 매개변수화된 테스트를 지원합니"
"다."

0 comments on commit 65ae0d6

Please sign in to comment.