Skip to content

Commit

Permalink
Fix tests for libcmark 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Dec 30, 2015
1 parent 006b255 commit f93f310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/02_accessors.t
Expand Up @@ -17,7 +17,7 @@ isa_ok($doc, 'CommonMark::Node', 'parse_file');

my $header = $doc->first_child;
is($header->get_type, CommonMark::NODE_HEADER, 'get_type');
is($header->get_type_string, 'heading', 'get_type_string');
like($header->get_type_string, qr/^head(er|ing)\z/, 'get_type_string');
is($header->get_header_level, 1, 'get_header_level');
$header->set_header_level(6);
is($header->get_header_level, 6, 'set_header_level works');
Expand Down

0 comments on commit f93f310

Please sign in to comment.