Skip to content

Commit 19c7cc8

Browse files
committed
tests: duplicates additional tests that would be beneficial to earlier versions of the specification
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
1 parent bb1d459 commit 19c7cc8

18 files changed

Lines changed: 108 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Action remove must be a boolean
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
7+
remove: maybe
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Action target must be a string
4+
version: 1.0.0
5+
actions:
6+
- target: 100
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Actions must be an array
4+
version: 1.0.0
5+
actions: {}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
overlay: 1.0.0
2+
info: invalid
3+
actions:
4+
- target: '$'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
overlay: 1.0.0
2+
info:
3+
title: 100
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Invalid info version type
4+
version: false
5+
actions:
6+
- target: '$'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
overlay: '1.0'
2+
info:
3+
title: Overlay version must match 1.0.x
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Root invalid property
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
7+
invalidProperty: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overlay: 1.1.0
2+
info:
3+
title: Action copy must be a string
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
7+
copy: 100
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overlay: 1.1.0
2+
info:
3+
title: Action remove must be a boolean
4+
version: 1.0.0
5+
actions:
6+
- target: '$'
7+
remove: maybe

0 commit comments

Comments
 (0)