style: apply golangci-lint formatting to test file

Made-with: Cursor
This commit is contained in:
Anu S Pillai 2026-03-09 02:08:01 +05:30
parent bf8fce7cf6
commit 534653228d

View file

@ -24,7 +24,14 @@ func TestMatchSkillsInMessage_Basic(t *testing.T) {
tmpDir := setupWorkspace(t, nil) tmpDir := setupWorkspace(t, nil)
defer os.RemoveAll(tmpDir) defer os.RemoveAll(tmpDir)
createTestSkill(t, filepath.Join(tmpDir, "skills"), "news-summary", "news-summary", "Summarize news", "Read RSS feeds") createTestSkill(
t,
filepath.Join(tmpDir, "skills"),
"news-summary",
"news-summary",
"Summarize news",
"Read RSS feeds",
)
createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather info", "Check weather API") createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather info", "Check weather API")
cb := NewContextBuilder(tmpDir) cb := NewContextBuilder(tmpDir)
@ -144,7 +151,14 @@ func TestLoadSkillContext(t *testing.T) {
tmpDir := setupWorkspace(t, nil) tmpDir := setupWorkspace(t, nil)
defer os.RemoveAll(tmpDir) defer os.RemoveAll(tmpDir)
createTestSkill(t, filepath.Join(tmpDir, "skills"), "weather", "weather", "Get weather", "Call the weather API with the user's location.") createTestSkill(
t,
filepath.Join(tmpDir, "skills"),
"weather",
"weather",
"Get weather",
"Call the weather API with the user's location.",
)
cb := NewContextBuilder(tmpDir) cb := NewContextBuilder(tmpDir)