modified: dyaml/constructor.d
modified: test/src/common.d
This commit is contained in:
parent
94adb4241e
commit
75e2e7f80a
|
@ -328,6 +328,11 @@ final class Constructor
|
||||||
enforce((tag in *delegates!T) !is null,
|
enforce((tag in *delegates!T) !is null,
|
||||||
new Error("No constructor function from " ~ type ~
|
new Error("No constructor function from " ~ type ~
|
||||||
" for tag " ~ tag.get(), start, end));
|
" for tag " ~ tag.get(), start, end));
|
||||||
|
|
||||||
|
static if(is(T : string)) {
|
||||||
|
value = strip(value);
|
||||||
|
}
|
||||||
|
|
||||||
Node node = Node(value);
|
Node node = Node(value);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ void run(F ...)(string testName, void function(bool, F) testFunction,
|
||||||
{
|
{
|
||||||
immutable string dataDir = "test/data";
|
immutable string dataDir = "test/data";
|
||||||
auto testFilenames = findTestFilenames(dataDir);
|
auto testFilenames = findTestFilenames(dataDir);
|
||||||
bool verbose = true;
|
bool verbose = false;
|
||||||
|
|
||||||
Result[] results;
|
Result[] results;
|
||||||
if(unittestExt.length > 0)
|
if(unittestExt.length > 0)
|
||||||
|
|
Loading…
Reference in a new issue