We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12af900 commit b94b29cCopy full SHA for b94b29c
YarnSpinner.Tests/ProjectTests.cs
@@ -380,6 +380,10 @@ This is a line with an embedded \#hashtag in it.
380
}
381
382
383
+ // The modified source does not have a #line tag on the same line as a #shadow tag
384
+ var lineTagOnSameLineAsShadowTag = new Regex(@"(#line.*#shadow.*)|(#shadow.*#line.*)");
385
+ output.Should().NotMatchRegex(lineTagOnSameLineAsShadowTag);
386
+
387
// we now should have seen every line ID, plus the entry for the shadow line
388
compilationResult.StringTable.Count.Should().Be(expectedResults.Count + 1);
389
compilationResult.StringTable.Count.Should().Be(visitedIDs.Count + 1);
0 commit comments