mirror of
https://github.com/apple/pkl.git
synced 2026-07-01 18:51:48 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user