Skip to content

Commit bca1e47

Browse files
committed
fix missing filename in token tests
1 parent 9456888 commit bca1e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/dyaml/test/tokens.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module dyaml.test.tokens;
2121
static auto scanTestCommon(string filename) @safe
2222
{
2323
ubyte[] yamlData = cast(ubyte[])readText(filename).dup;
24-
return Scanner(new Reader(yamlData));
24+
return Scanner(new Reader(yamlData, filename));
2525
}
2626

2727
/**

0 commit comments

Comments
 (0)