Tests: Fix Il2CppSharpDumper.WriteSingleFile reference in TestRunner

This commit is contained in:
Katy Coe
2019-11-12 05:40:12 +01:00
parent 268a10a950
commit e83fc9fbb5

View File

@@ -55,7 +55,7 @@ namespace Il2CppInspector
int i = 0;
foreach (var il2cpp in inspectors)
new Il2CppCSharpDumper(new Il2CppModel(il2cpp)) {ExcludedNamespaces = excludedNamespaces, SuppressGenerated = true}
.WriteFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
.WriteSingleFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
// Compare test result with expected result
for (i = 0; i < inspectors.Count; i++) {