diff --git a/source/mirage/java.d b/source/mirage/java.d index 1c47041..97e295c 100644 --- a/source/mirage/java.d +++ b/source/mirage/java.d @@ -67,7 +67,7 @@ version (unittest) { # I have a comment bla=one di.bla=two - meh: very + meh: very # except when meh=not very much = not much much: much !important!!!!!!!! empty @@ -87,11 +87,6 @@ version (unittest) { assert(config.get("di.bla") == "two"); } - @("Fail to parse when there are too many equals signs") - unittest { - assertThrown!ConfigCreationException(parseJavaProperties("one=two=three")); - } - @("Substitute env vars") unittest { environment["MIRAGE_TEST_ENVY"] = "Much"; @@ -119,15 +114,6 @@ version (unittest) { assert(config.get("one") == "money"); } - @("Remove end-of-line comments") - unittest { - auto config = parseJavaProperties(" - server=localhost #todo: change me. default=localhost when not set. - "); - - assert(config.get("server") == "localhost"); - } - @("Quotes in values are preserved") unittest { auto config = parseJavaProperties("