Fix test case so it works cross plat.
- This just happened to be working on Windows. Newlines!
This commit is contained in:
parent
6c8ef157b4
commit
d0e1b810c4
|
|
@ -192,7 +192,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution
|
|||
var initialError = new RazorError("Initial test error", SourceLocation.Zero, length: 1);
|
||||
var expectedRewritingError = new RazorError(
|
||||
LegacyResources.FormatTagHelpersParseTreeRewriter_FoundMalformedTagHelper("form"),
|
||||
new SourceLocation(Environment.NewLine.Length + 32, 2, 0),
|
||||
new SourceLocation(Environment.NewLine.Length * 2 + 30, 2, 1),
|
||||
length: 4);
|
||||
var erroredOriginalTree = RazorSyntaxTree.Create(originalTree.Root, new[] { initialError });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue