PS: Replace all non-word characters in test function names

This commit is contained in:
Katy Coe
2019-12-12 09:05:13 +01:00
parent 88be17003e
commit f10d52bdd2

View File

@@ -20,7 +20,7 @@ namespace Il2CppInspector
gci -Directory $bin | % { gci -Directory $bin | % {
echo @" echo @"
[Test] [Test]
public void $($_.Name.Replace("-","_").Replace(" ","_").Replace(".","_"))() { public void $($_.Name -Replace '\W','_')() {
runTest(@"$($_.FullName)"); runTest(@"$($_.FullName)");
} }