Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/v1.0/fail/action-remove-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.0.0
info:
title: Action remove must be a boolean
version: 1.0.0
actions:
- target: '$'
remove: maybe
6 changes: 6 additions & 0 deletions tests/v1.0/fail/action-target-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.0.0
info:
title: Action target must be a string
version: 1.0.0
actions:
- target: 100
5 changes: 5 additions & 0 deletions tests/v1.0/fail/actions-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
overlay: 1.0.0
info:
title: Actions must be an array
version: 1.0.0
actions: {}
4 changes: 4 additions & 0 deletions tests/v1.0/fail/info-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
overlay: 1.0.0
info: invalid
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.0/fail/info-title-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.0.0
info:
title: 100
version: 1.0.0
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.0/fail/info-version-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.0.0
info:
title: Invalid info version type
version: false
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.0/fail/overlay-invalid-pattern.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: '1.0'
info:
title: Overlay version must match 1.0.x
version: 1.0.0
actions:
- target: '$'
7 changes: 7 additions & 0 deletions tests/v1.0/fail/root-invalid-property.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.0.0
info:
title: Root invalid property
version: 1.0.0
actions:
- target: '$'
invalidProperty: true
7 changes: 7 additions & 0 deletions tests/v1.1/fail/action-copy-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.1.0
info:
title: Action copy must be a string
version: 1.0.0
actions:
- target: '$'
copy: 100
7 changes: 7 additions & 0 deletions tests/v1.1/fail/action-remove-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.1.0
info:
title: Action remove must be a boolean
version: 1.0.0
actions:
- target: '$'
remove: maybe
6 changes: 6 additions & 0 deletions tests/v1.1/fail/action-target-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.1.0
info:
title: Action target must be a string
version: 1.0.0
actions:
- target: 100
5 changes: 5 additions & 0 deletions tests/v1.1/fail/actions-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
overlay: 1.1.0
info:
title: Actions must be an array
version: 1.0.0
actions: {}
7 changes: 7 additions & 0 deletions tests/v1.1/fail/info-description-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.1.0
info:
title: Invalid info description type
version: 1.0.0
description: 100
actions:
- target: '$'
4 changes: 4 additions & 0 deletions tests/v1.1/fail/info-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
overlay: 1.1.0
info: invalid
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.1/fail/info-title-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.1.0
info:
title: 100
version: 1.0.0
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.1/fail/info-version-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.1.0
info:
title: Invalid info version type
version: false
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.1/fail/overlay-invalid-pattern.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: '1.1'
info:
title: Overlay version must match 1.1.x
version: 1.0.0
actions:
- target: '$'
7 changes: 7 additions & 0 deletions tests/v1.1/fail/root-invalid-property.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.1.0
info:
title: Root invalid property
version: 1.0.0
actions:
- target: '$'
invalidProperty: true
7 changes: 7 additions & 0 deletions tests/v1.2-dev/fail/action-copy-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.2.0
info:
title: Action copy must be a string
version: 1.0.0
actions:
- target: '$'
copy: 100
7 changes: 7 additions & 0 deletions tests/v1.2-dev/fail/action-remove-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.2.0
info:
title: Action remove must be a boolean
version: 1.0.0
actions:
- target: '$'
remove: maybe
5 changes: 5 additions & 0 deletions tests/v1.2-dev/fail/actions-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
overlay: 1.2.0
info:
title: Actions must be an array
version: 1.0.0
actions: {}
7 changes: 7 additions & 0 deletions tests/v1.2-dev/fail/info-description-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.2.0
info:
title: Invalid info description type
version: 1.0.0
description: 100
actions:
- target: '$'
7 changes: 7 additions & 0 deletions tests/v1.2-dev/fail/info-invalid-property.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.2.0
info:
title: Info invalid property
version: 1.0.0
invalidProperty: true
actions:
- target: '$'
4 changes: 4 additions & 0 deletions tests/v1.2-dev/fail/info-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
overlay: 1.2.0
info: invalid
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.2-dev/fail/info-title-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.2.0
info:
title: 100
version: 1.0.0
actions:
- target: '$'
6 changes: 6 additions & 0 deletions tests/v1.2-dev/fail/info-version-invalid-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
overlay: 1.2.0
info:
title: Invalid info version type
version: false
actions:
- target: '$'
7 changes: 7 additions & 0 deletions tests/v1.2-dev/fail/root-invalid-property.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
overlay: 1.2.0
info:
title: Root invalid property
version: 1.0.0
actions:
- target: '$'
invalidProperty: true
Loading