Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 6, 2019
1 parent 2d594a1 commit 603c5bd
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/helpers/data/deselect/octal.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = [

// Operators
'=11',
'+11',
' +11',
'-11',

// Whitespace
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/data/parse/octal.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = [

// Operators
'=11',
'+11',
' +11',
'-11',

// Whitespace
Expand Down
27 changes: 27 additions & 0 deletions test/snapshots/deselect.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -2796,3 +2796,30 @@ Generated by [AVA](https://ava.li).
error: false,
output: 'u-x',
}

## [octal] should deselect.group +11

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

## [octal] should deselect.others +11

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

## [octal] should deselect.user +11

> Snapshot 1
{
error: false,
output: '+4100',
}
Binary file modified test/snapshots/deselect.js.snap
Binary file not shown.
9 changes: 9 additions & 0 deletions test/snapshots/normalize.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -1681,3 +1681,12 @@ Generated by [AVA](https://ava.li).
error: false,
output: 'o+x,o-r',
}

## [octal] should normalize +11

> Snapshot 1
{
error: false,
output: '+0011',
}
Binary file modified test/snapshots/normalize.js.snap
Binary file not shown.
9 changes: 9 additions & 0 deletions test/snapshots/parse.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -1605,3 +1605,12 @@ Generated by [AVA](https://ava.li).
error: false,
output: 'o+x,o-r',
}

## [octal] should parse +11

> Snapshot 1
{
error: false,
output: 'go+x',
}
Binary file modified test/snapshots/parse.js.snap
Binary file not shown.
27 changes: 27 additions & 0 deletions test/snapshots/select.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -4853,3 +4853,30 @@ Generated by [AVA](https://ava.li).
error: false,
output: '+',
}

## [octal] should select.group +11

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

## [octal] should select.others +11

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

## [octal] should select.user +11

> Snapshot 1
{
error: false,
output: '+0',
}
Binary file modified test/snapshots/select.js.snap
Binary file not shown.
9 changes: 9 additions & 0 deletions test/snapshots/type.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -1605,3 +1605,12 @@ Generated by [AVA](https://ava.li).
error: false,
output: 'symbolic',
}

## [octal] should find type of +11

> Snapshot 1
{
error: false,
output: 'octal',
}
Binary file modified test/snapshots/type.js.snap
Binary file not shown.

0 comments on commit 603c5bd

Please sign in to comment.