From eff9fef7da6c0ec83bbe70c65ac4dbc79c29e143 Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Wed, 15 Aug 2018 16:14:57 -0300 Subject: [PATCH] fix verbose test output --- source/dyaml/test/emitter.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/dyaml/test/emitter.d b/source/dyaml/test/emitter.d index 36e43c4..09c3e5d 100644 --- a/source/dyaml/test/emitter.d +++ b/source/dyaml/test/emitter.d @@ -85,7 +85,7 @@ void testEmitterOnData(string dataFilename, string canonicalFilename) @safe { writeln(dataFilename); writeln("ORIGINAL:\n", readText(dataFilename)); - writeln("OUTPUT:\n", emitStream.toString); + writeln("OUTPUT:\n", emitStream.data); } auto loader2 = Loader.fromString(emitStream.data); @@ -115,7 +115,7 @@ void testEmitterOnCanonical(string canonicalFilename) @safe static if(verbose) { writeln("OUTPUT (canonical=", canonical, "):\n", - emitStream.toString); + emitStream.data); } auto loader2 = Loader.fromString(emitStream.data); loader2.name = "TEST"; @@ -173,7 +173,7 @@ void testEmitterStyles(string dataFilename, string canonicalFilename) @safe { writeln("OUTPUT (", filename, ", ", to!string(flowStyle), ", ", to!string(style), ")"); - writeln(emitStream.toString); + writeln(emitStream.data); } auto loader2 = Loader.fromString(emitStream.data); loader2.name = "TEST";