test: cleanup

This commit is contained in:
mattia
2025-03-01 18:17:58 +01:00
parent d1051edc90
commit 2d1165f8e4
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ internal static class Helpers
public class TestBase public class TestBase
{ {
protected (Story, Diagnostic[]) ParseText(string inkInput) protected static (Story, Diagnostic[]) ParseText(string inkInput)
{ {
// parse the story // parse the story
var fileReader = new InMemoryFileReader([ var fileReader = new InMemoryFileReader([

View File

@@ -5,7 +5,7 @@ namespace InkBlot.Tests;
public class MultiDivertTest : TestBase public class MultiDivertTest : TestBase
{ {
private IStoryNode[] MyParseText(string text, bool stripSpaces) private static IStoryNode[] MyParseText(string text, bool stripSpaces)
{ {
var (story, diagnostics) = ParseText(stripSpaces ? text.Replace(" ", "").Replace("\t", "") : text); var (story, diagnostics) = ParseText(stripSpaces ? text.Replace(" ", "").Replace("\t", "") : text);