### ----------------------------------------------------
### -- Raku::Pod::Render
### -- Licenses: Artistic-2.0
### -- Authors: Richard Hainsworth
### -- File: xt/903-test-templates/05-basic.rakutest
### ----------------------------------------------------
use Test;
use RenderPod::Test-Templates;
plan 3;

diag "\nTwo failures are planned, test 2 - errors in return values, test 4 - incomplete list\n";
my %templates = EVALFILE 'resources/test_things/html-rakuclosure.raku';
templates-present %templates, 'Yes they are all there';
my %extra = EVALFILE 'resources/test_things/extra-test.raku';
extra-templates-match %templates, %extra, 'We got em';
todo 1;
subtest 'Expected failures' => {
    templates-match %templates;
    %templates<toc>:delete;
    templates-present %templates, 'test caught the absence of toc';
}

done-testing;


