Skip to content

Commit 545c2b1

Browse files
Y-RyuZUclaude
andcommitted
fix: apply cargo fmt to resolve CI formatting issues
Applied rustfmt to fix formatting in: - src-tauri/src/minecraft/mod_translation_test.rs (line 46, 419) - Shortened long format strings to single lines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent c85fa56 commit 545c2b1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src-tauri/src/minecraft/mod_translation_test.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ fn create_mock_mod_jar(
4343
);
4444
zip.write_all(content.as_bytes())?;
4545
} else {
46-
let content = format!(
47-
"item.{mod_id}.test=Test Item\nblock.{mod_id}.test=Test Block"
48-
);
46+
let content = format!("item.{mod_id}.test=Test Item\nblock.{mod_id}.test=Test Block");
4947
zip.write_all(content.as_bytes())?;
5048
}
5149
}
@@ -416,10 +414,7 @@ async fn test_check_mod_translation_concurrent_access() {
416414
// Wait for all checks to complete
417415
for (lang, handle) in handles {
418416
let result = handle.await.unwrap();
419-
assert!(
420-
result.is_ok(),
421-
"Concurrent check for {lang} should succeed"
422-
);
417+
assert!(result.is_ok(), "Concurrent check for {lang} should succeed");
423418

424419
let expected = matches!(lang, "ja_jp" | "zh_cn" | "ko_kr");
425420
assert_eq!(

0 commit comments

Comments
 (0)