Merge pull request #250 from Herringway/nullable-deprecation

fix an instance where a deprecated Nullable alias this was used
merged-on-behalf-of: Cameron Ross <elpenguino@gmail.com>
This commit is contained in:
The Dlang Bot 2020-03-01 20:43:49 +01:00 committed by GitHub
commit 50372b194a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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