@@ -14,7 +14,7 @@ stdout '✓'
1414# Invalid package.json (version must be string)
1515! exec validator --schemastore schemastore invalid/package.json
1616stdout '×'
17- stdout 'schema validation failed '
17+ stdout 'error: '
1818
1919# Valid nodemon.json
2020exec validator --schemastore schemastore valid/nodemon.json
@@ -23,7 +23,7 @@ stdout '✓'
2323# Invalid nodemon.json (unknown field, additionalProperties: false)
2424! exec validator --schemastore schemastore invalid/nodemon.json
2525stdout '×'
26- stdout 'schema validation failed '
26+ stdout 'error: '
2727
2828# ============================================================
2929# PART 2: --schemastore automatic matching (YAML)
@@ -36,7 +36,7 @@ stdout '✓'
3636# Invalid GitHub workflow (missing required 'jobs')
3737! exec validator --schemastore schemastore invalid/.github/workflows/ci.yml
3838stdout '×'
39- stdout 'schema validation failed '
39+ stdout 'error: '
4040
4141# Valid artifacthub-repo.yml
4242exec validator --schemastore schemastore valid/artifacthub-repo.yml
@@ -45,7 +45,7 @@ stdout '✓'
4545# Invalid artifacthub-repo.yml (additionalProperties: false)
4646! exec validator --schemastore schemastore invalid/artifacthub-repo.yml
4747stdout '×'
48- stdout 'schema validation failed '
48+ stdout 'error: '
4949
5050# ============================================================
5151# PART 3: --schemastore automatic matching (TOML)
@@ -58,7 +58,7 @@ stdout '✓'
5858# Invalid stylua.toml (column_width must be integer)
5959! exec validator --schemastore schemastore invalid/stylua.toml
6060stdout '×'
61- stdout 'schema validation failed '
61+ stdout 'error: '
6262
6363# ============================================================
6464# PART 4: --schemastore automatic matching (TOON)
@@ -71,7 +71,7 @@ stdout '✓'
7171# Invalid app.toon (port out of range)
7272! exec validator --schemastore schemastore invalid/app.toon
7373stdout '×'
74- stdout 'schema validation failed '
74+ stdout 'error: '
7575
7676# ============================================================
7777# PART 5: Unmatched files pass syntax-only
@@ -115,7 +115,7 @@ stdout '✓'
115115# schema-map points to strict schema that rejects the file
116116! exec validator --schema-map=package.json:strict_schema.json --schemastore schemastore valid/package.json
117117stdout '×'
118- stdout 'schema validation failed '
118+ stdout 'error: '
119119
120120# ============================================================
121121# PART 9: --schema-map with YAML
@@ -126,7 +126,7 @@ stdout '✓'
126126
127127! exec validator --schema-map=config.yaml:server_schema.json invalid/config.yaml
128128stdout '×'
129- stdout 'schema validation failed '
129+ stdout 'error: '
130130
131131# ============================================================
132132# PART 10: --schema-map with TOML
@@ -137,7 +137,7 @@ stdout '✓'
137137
138138! exec validator --schema-map=config.toml:server_schema.json invalid/config.toml
139139stdout '×'
140- stdout 'schema validation failed '
140+ stdout 'error: '
141141
142142# ============================================================
143143# PART 11: --schema-map with TOON
@@ -148,7 +148,7 @@ stdout '✓'
148148
149149! exec validator --schema-map=config.toon:server_schema.json invalid/config.toon
150150stdout '×'
151- stdout 'schema validation failed '
151+ stdout 'error: '
152152
153153# ============================================================
154154# PART 12: --schema-map with glob patterns
@@ -159,7 +159,7 @@ stdout '✓'
159159
160160! exec validator --schema-map=**/configs/*.json:server_schema.json invalid/configs/db.json
161161stdout '×'
162- stdout 'schema validation failed '
162+ stdout 'error: '
163163
164164# ============================================================
165165# PART 13: Multiple files, mixed results
0 commit comments