switch to a non-templated Dumper struct (#234)

switch to a non-templated Dumper struct
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
This commit is contained in:
Cameron Ross 2019-02-07 04:18:50 -03:30 committed by The Dlang Bot
parent 8de1a45922
commit e37c4daa7e
9 changed files with 68 additions and 80 deletions

View file

@ -263,7 +263,7 @@ TestResult runTests(string tml) @safe
if (!loadFailed && !compareYAMLString.isNull && !shouldFail)
{
Appender!string buf;
dumper(buf).dump();
dumper().dump(buf);
compareLineByLine(buf.data, compareYAMLString, "Dumped YAML mismatch");
testsRun++;
}