nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider renaming Assert-Same to Assert-ReferenceEqual to avoid confusion

nohwnd opened this issue · comments

same is pretty well known to compare by reference in most testing framework, but the usability of reference comparison is low in powershell, and it's easy to mistake it for equality. Consider renaming the assertion to Assert-ReferenceEqual to make it less discoverable, and hence harder to use by accident.

@alx9r Got any opinion on that?