You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement better way to test for in-memory file (#645)
* Implement better way to test for in-memory file
Fix#569
PSES would crash quite often when the user viewed a ps1 file in a diff window
or an earlier version using GitLens.
This approach using the System.Uri class that can detect file vs other schemes.
URI chokes on relative file paths. In this case, we fall back to the previous
approach of using Path.GetFullPath().
* Add unit tests and PTLE catch - just in case.
* Use test cases and a single Assert.
* Remove test value for verifying we get msg on test fail
0 commit comments