PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[PowerRename] UnitTest failure

Open ryanbodrug-microsoft opened this issue 6 years ago • 0 comments

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

image

ryanbodrug-microsoft avatar Dec 10 '19 05:12 ryanbodrug-microsoft