Enable useCustomStringDelimiters for pkl test example output (#416)

This makes the `<file>-expected.pcf` file a bit easier to read when examples contain quotes or
backslashes.
This commit is contained in:
Lily Ballard
2024-04-18 12:58:05 -07:00
committed by GitHub
parent 81bfdb7cbd
commit 76f1b92039
2 changed files with 57 additions and 4 deletions
@@ -263,7 +263,7 @@ public class TestRunner {
VmUtils.createSyntheticObjectProperty(Identifier.EXAMPLES, "examples", examples)),
0);
var builder = new StringBuilder();
new PcfRenderer(builder, " ", converter, false, false).renderDocument(outputFileContent);
new PcfRenderer(builder, " ", converter, false, true).renderDocument(outputFileContent);
try {
Files.writeString(outputFile, builder);
} catch (IOException e) {