Skip to content

Commit

Permalink
Add more tests data
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 2, 2018
1 parent 397e05a commit 9e08d1e
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/helpers/data/deselect/symbolic.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module.exports = [

// Combining
'=rw',
'+x,+x',
'+x,-x',
'+x,-r',

// Operators
'=x',
Expand All @@ -32,4 +35,5 @@ module.exports = [

// Whitespace
' +x ',
' +x, +x ',
]
108 changes: 108 additions & 0 deletions test/snapshots/deselect.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -2688,3 +2688,111 @@ Generated by [AVA](https://ava.li).
error: true,
output: 'Permissions syntax is invalid: ~x',
}

## [symbolic] should deselect.group +x, +x

> Snapshot 1
{
error: false,
output: 'g+x',
}

## [symbolic] should deselect.group +x,+x

> Snapshot 1
{
error: false,
output: 'g+x',
}

## [symbolic] should deselect.group +x,-r

> Snapshot 1
{
error: false,
output: 'g+x,g-r',
}

## [symbolic] should deselect.group +x,-x

> Snapshot 1
{
error: false,
output: 'g-x',
}

## [symbolic] should deselect.others +x, +x

> Snapshot 1
{
error: false,
output: 'o+x',
}

## [symbolic] should deselect.others +x,+x

> Snapshot 1
{
error: false,
output: 'o+x',
}

## [symbolic] should deselect.others +x,-r

> Snapshot 1
{
error: false,
output: 'o+x,o-r',
}

## [symbolic] should deselect.others +x,-x

> Snapshot 1
{
error: false,
output: 'o-x',
}

## [symbolic] should deselect.user +x, +x

> Snapshot 1
{
error: false,
output: 'u+x',
}

## [symbolic] should deselect.user +x,+x

> Snapshot 1
{
error: false,
output: 'u+x',
}

## [symbolic] should deselect.user +x,-r

> Snapshot 1
{
error: false,
output: 'u+x,u-r',
}

## [symbolic] should deselect.user +x,-x

> Snapshot 1
{
error: false,
output: 'u-x',
}
Binary file modified test/snapshots/deselect.js.snap
Binary file not shown.

0 comments on commit 9e08d1e

Please sign in to comment.