Skip to content

Commit

Permalink
fix missing filename in token tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Herringway committed Dec 16, 2022
1 parent 9456888 commit bca1e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dyaml/test/tokens.d
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module dyaml.test.tokens;
static auto scanTestCommon(string filename) @safe
{
ubyte[] yamlData = cast(ubyte[])readText(filename).dup;
return Scanner(new Reader(yamlData));
return Scanner(new Reader(yamlData, filename));
}

/**
Expand Down

0 comments on commit bca1e47

Please sign in to comment.