PS: Replace all non-word characters in test function names
This commit is contained in:
@@ -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)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user