chore: fix commets and format

Update internal/crosscompile/compile/rtlib/rt_test.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

Update internal/crosscompile/compile/libc/libc_test.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

Update internal/crosscompile/compile/libc/libc_test.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

chore: format contents
This commit is contained in:
Haolan
2025-09-09 17:48:54 +08:00
parent d4474be921
commit 8ce6c3b9ab
3 changed files with 5 additions and 5 deletions

View File

@@ -325,7 +325,7 @@ func TestGetNewlibESP32ConfigRISCV(t *testing.T) {
} else {
for i, expected := range expectedCFlags {
if config.ExportCFlags[i] != expected {
t.Errorf("LibcCFlags[%d] mismatch. Expected '%s', got '%s'", i, expected, config.ExportCFlags[i])
t.Errorf("ExportCFlags[%d] mismatch. Expected '%s', got '%s'", i, expected, config.ExportCFlags[i])
}
}
}
@@ -458,7 +458,7 @@ func TestGetNewlibESP32ConfigXtensa(t *testing.T) {
} else {
for i, expected := range expectedCFlags {
if config.ExportCFlags[i] != expected {
t.Errorf("LibcCFlags[%d] mismatch. Expected '%s', got '%s'", i, expected, config.ExportCFlags[i])
t.Errorf("ExportCFlags[%d] mismatch. Expected '%s', got '%s'", i, expected, config.ExportCFlags[i])
}
}
}