Skip to content

Commit

Permalink
test for both single and double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbfaulks committed Sep 6, 2024
1 parent 600b586 commit 42f684d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions YamlDotNet.Test/Core/EmitterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ public void LeadingBackslashIsNotQuoted(string input)
var events = StreamOf(DocumentWith(new Scalar(input)));
var yaml = EmittedTextFrom(events);
yaml.Should().NotContain("\'");
yaml.Should().NotContain("\"");
}

private string Lines(params string[] lines)
Expand Down

0 comments on commit 42f684d

Please sign in to comment.