Add test for conservation of whitespace

This commit is contained in:
Mike Bierlee 2022-09-28 23:33:23 +03:00
parent 2d934074fd
commit f0d5f34390

View file

@ -698,7 +698,14 @@ version (unittest) {
assert(jsonConfig.get("taxNumber") == null); assert(jsonConfig.get("taxNumber") == null);
} }
// TODO test whitespace is preserved in value @("Whitespace is preserved in values")
unittest {
auto config = new ConfigDictionary(new ObjectNode([
"bla": " blergh "
]));
assert(config.get("bla") == " blergh ");
}
@("Read value from environment variable") @("Read value from environment variable")
unittest { unittest {