mirror of
https://github.com/mbierlee/mirage-config.git
synced 2024-11-15 04:44:01 +01:00
Add test for conservation of whitespace
This commit is contained in:
parent
2d934074fd
commit
f0d5f34390
|
@ -698,7 +698,14 @@ version (unittest) {
|
|||
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")
|
||||
unittest {
|
||||
|
|
Loading…
Reference in a new issue