jmdavis / dxml

An XML parsing library written in D.
Boost Software License 1.0
32 stars 10 forks source link

stripIndent removes text #19

Closed belka-ew closed 5 years ago

belka-ew commented 5 years ago
unittest
{
    import dxml.util;
    import std.string;

    assert(stripIndent("foo\n      ").startsWith("foo"));
}