Skip to content

Commit 1e943bf

Browse files
author
Test User
committed
test(singlefile): update error count expectation for enhanced validation
Adjust invalid agent test to expect 3 errors instead of 2, reflecting the addition of CUE concreteness validation alongside existing Go-based checks.
1 parent a471f8d commit 1e943bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cli/singlefile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ No name or description.
326326
wantErr bool // Expect error to be returned (not in results)
327327
}{
328328
{"valid agent", validAgent, "", true, 0, false},
329-
{"invalid agent", invalidAgent, "", false, 2, false}, // Missing name and description
329+
{"invalid agent", invalidAgent, "", false, 3, false}, // Missing name and description (CUE + Go checks)
330330
{"nonexistent", filepath.Join(tmpDir, "nope.md"), "", false, 0, true},
331331
}
332332

0 commit comments

Comments
 (0)