update broken tests

This commit is contained in:
haven1433 2023-07-08 22:35:09 -05:00
parent cce2153c2b
commit 6bbd112f3e
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ Script:
ViewPort.Tools.CodeTool.Contents[0].Content = "trainerbattle 00";
var message = "0: Command trainerbattle 00 expects 4 arguments, but received 0 instead.";
Assert.Equal(ViewPort.Tools.CodeTool.ErrorText.Trim(), message);
Assert.Equal(message, ViewPort.Tools.CodeTool.Contents[0].ErrorText.Trim());
}
[Fact]

View File

@ -776,7 +776,7 @@ label2:;goto <000050>;end";
EventScript = "goto <auto>";
Assert.True(Tool.ShowErrorText);
Assert.True(Tool.Contents[0].HasError);
}
[Fact]