Add new tests for unused numeric macros and the rownum macro in t/Macro/SQL.t

Document how unused numeric macros are handled in the SQL macro and that rownum
starts counting at 1.
Quote entries in the related section to make detecting spaces in names easier.
This commit is contained in:
Colin Kuskie 2006-07-04 04:14:20 +00:00
parent 122b59019c
commit 553f1e0c4a
3 changed files with 16 additions and 3 deletions

View file

@ -66,7 +66,7 @@ plan tests => scalar @relatedHelp + scalar @isaHelp;
foreach my $related (@relatedHelp) {
my ($topic, $entry, $parentTopic, $parentEntry) = @{ $related }{'namespace', 'tag', 'parentTopic', 'parentEntry'};
ok( exists $helpTable{$topic}{$entry}, "Help entry: $topic -> $entry from $parentTopic -> $parentEntry");
ok( exists $helpTable{$topic}{$entry}, "Help entry: $topic -> '$entry' from $parentTopic -> $parentEntry");
}
foreach my $isa (@isaHelp) {