Skip to content

Import-Ini can't resolve pester's TestDrive:\ #115

@lipkau

Description

@lipkau

Since the last refactoring, Import-Ini now uses [System.IO.File]::ReadAllLines() for reading the content of files.
This method is not able to resolve TestDrive:\ from Invoke-Pester.

The pester tests of the module are working around this be using [System.IO.Path]::GetTempPath() instead.
But if this module is used within pester tests of someone else, this could break the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions