mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Oops, all IBodyItems!
This commit is contained in:
@@ -43,7 +43,7 @@ main:
|
||||
|
||||
Assert.NotNull(ast);
|
||||
Assert.Equal(3 + 2 + 2, ast.Directives.Count());
|
||||
Assert.Equal(9, ast.Body.Count());
|
||||
Assert.Equal(9, ast.Code.Count());
|
||||
}
|
||||
|
||||
[Theory]
|
||||
@@ -109,7 +109,10 @@ main:
|
||||
ErrorManager.OnErrors += (errors) =>
|
||||
{
|
||||
foreach (ErrorRecord error in errors)
|
||||
output.WriteLine($"Error at (L{error.Line}, C{error.Column}): {error.Message}");
|
||||
{
|
||||
var errorTypeText = error.Warning ? "Warning" : "Error";
|
||||
output.WriteLine($"{errorTypeText} at (L{error.Line}, C{error.Column}): {error.Message}");
|
||||
}
|
||||
};
|
||||
|
||||
var success = MarkupCompiler.Compile(compilerInputs, default);
|
||||
|
||||
Reference in New Issue
Block a user