test: cleanup
This commit is contained in:
@@ -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([
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user