-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- TOC#renderをrender_coreに改名 - TOC#render_coreがcontextに依存していたが剥がす - cacheは、Dispatcher 側に任す - toc.txtの改行位置をperldoc perlにあわせ調整 - https://perldoc.perl.org/perl - M::TOC に関するテストを集約
- Loading branch information
Showing
5 changed files
with
33 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use v5.38; | ||
use Test2::V0; | ||
|
||
use PJP::M::TOC; | ||
|
||
subtest 'render_core - perl本体のドキュメントの目次' => sub { | ||
my $out = PJP::M::TOC->render_core(); | ||
ok $out; | ||
note $out; | ||
todo '目次の内容を確認する' => sub { | ||
fail; | ||
}; | ||
}; | ||
|
||
#subtest 'render_function - 組み込み関数の目次' => sub { | ||
# my $out = PJP::M::TOC->render_function(); | ||
# ok $out; | ||
# | ||
#}; | ||
|
||
# subtest 'render_variable - 組み込み変数の目次' => sub { | ||
# my $out = PJP::M::TOC->render_variable(); | ||
# ok $out; | ||
# note $out; | ||
# }; | ||
|
||
done_testing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters