Parser new with a path, not a IO::Path

This commit is contained in:
Aoran Zeng
2025-07-16 02:14:16 +08:00
parent cefa25a883
commit c86b75987e
2 changed files with 20 additions and 6 deletions

View File

@@ -11,8 +11,8 @@
use lib '../lib';
use Parser;
my $test-file1 = './fixture/test-hierarchy-with-root.md'.IO;
my $test-file2 = './fixture/test-hierarchy-without-root.md'.IO;
my $test-file1 = './fixture/test-hierarchy-with-root.md';
my $test-file2 = './fixture/test-hierarchy-without-root.md';
my $parser1 = Parser::Parser.new($test-file1);
my $parser2 = Parser::Parser.new($test-file2);