Skip to content

Refactor the Get-Content tests to use -TestCases #3945

@mirichmo

Description

@mirichmo

This came up during the code review for PR #3808 regarding this test:

It "should throw 'PSNotSupportedException' when you set-content to an unsupported provider" -Skip:($IsLinux -Or $IsOSX) {

It should be refactored to use the -TestCases feature of Pester.

Environment data

6.0.0-beta.2

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Quality-Testissues in a test or in test infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions