mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
fix(test): update sync warning assertion to match summary format
TestSync_TargetNamingStandard_InvalidSkillWarnsAndSkips now checks for summarized output 'skill(s) skipped (naming validation)' instead of per-skill warning line.
This commit is contained in:
@@ -103,7 +103,7 @@ targets:
|
||||
|
||||
result := sb.RunCLI("sync")
|
||||
result.AssertSuccess(t)
|
||||
result.AssertAnyOutputContains(t, "skipped frontend/dev because")
|
||||
result.AssertAnyOutputContains(t, "skill(s) skipped (naming validation)")
|
||||
|
||||
if !sb.IsSymlink(filepath.Join(targetPath, "alpha")) {
|
||||
t.Fatal("expected valid skill alpha to sync")
|
||||
|
||||
Reference in New Issue
Block a user