Skip to content

Commit

Permalink
Add -in and -notin tests (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
IISResetMe authored and TylerLeonhardt committed Nov 16, 2019
1 parent d10ae29 commit 4a0a076
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/TheBigTestFile.ps1
Expand Up @@ -390,6 +390,8 @@ if (10 -cgt 100) { }
$a -is $b
$b -contains $c
$x -notcontains $c
$c -in $b
$c -notin $x
$a -match $b
$a -notmatch $b
$x -like $c
Expand Down
4 changes: 4 additions & 0 deletions spec/testfiles/syntax_test_TheBigTestFile.ps1
Expand Up @@ -1006,6 +1006,10 @@ $b -contains $c
# ^ keyword.operator.comparison.powershell
$x -notcontains $c
# ^ keyword.operator.comparison.powershell
$c -in $b
# ^ keyword.operator.comparison.powershell
$c -notin $x
# ^ keyword.operator.comparison.powershell
$a -match $b
# ^ keyword.operator.comparison.powershell
$a -notmatch $b
Expand Down

0 comments on commit 4a0a076

Please sign in to comment.