fix an instance where a deprecated Nullable alias this was used

This commit is contained in:
Cameron Ross 2020-02-27 03:21:37 -04:00
parent c4640defc4
commit 85cf50f54d
No known key found for this signature in database
GPG key ID: 777897D98DC91C54

View file

@ -264,13 +264,13 @@ TestResult runTests(string tml) @safe
{
Appender!string buf;
dumper().dump(buf);
compareLineByLine(buf.data, compareYAMLString, "Dumped YAML mismatch");
compareLineByLine(buf.data, compareYAMLString.get, "Dumped YAML mismatch");
testsRun++;
}
if (!loadFailed && !events.isNull && !shouldFail)
{
const compare = dumpEventString(yamlString);
compareLineByLine(compare, events, "Event mismatch");
compareLineByLine(compare, events.get, "Event mismatch");
testsRun++;
}
if (loadFailed && !shouldFail)