PowerToys
PowerToys copied to clipboard
[PowerRename] UnitTest failure
Environment
Windows build number: [Version 10.0.18363.476]
PowerToys version: N/A
PowerToy module for which you are reporting the bug (if applicable): PowerRename
Steps to reproduce
Run VerifyReplaceFirstWildcardUseRegEx Unit Test
Expected behavior
Test should pass w/ the following parameters search: ".*" replace: "Foo" source: "AAAAAAA" expectedResult: "Foo"
Actual behavior
The test fails because it expecting the result to be FooAAAA, which I don't believe is actually what is expected from the wild card replacement.
Note: I have fixed this on a forked branch. I will send a PR shortly.
Screenshots
