Skip to content

Add tests for -is, -isnot, -contains, -notcontains and -like operators #4162

Closed

Description

Add tests for -is, -isnot, -contains, -notcontains and -like operators

Related code coverage report:

https://codecov.io/gh/PowerShell/PowerShell/src/9e41c647a9407e05d86f4971a6bd25719a7130d0/src/System.Management.Automation/engine/lang/parserutils.cs

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.3
OS                             Microsoft Windows 10.0.16204
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Activity

  1. added this to the milestone on Jul 1, 2017
  2. SteveL-MSFT commented on Jul 3, 2017

    @SteveL-MSFT
    Member

    Aditya Patwardhan (@adityapatwardhan) is this for the parser or where-object params? I see tests for -like, -contains, and -notcontains and -is is used by other tests

  3. adityapatwardhan commented on Jul 3, 2017

    @adityapatwardhan
    MemberAuthor

    Steve Lee (@SteveL-MSFT) Added link to the report showing the missing coverage. Not sure why this is not covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions