Skip to content

Commit

Permalink
fix: handlebars unit tests are unrelated to is_multipage
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Oct 24, 2024
1 parent cb18b87 commit 9ef4c38
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test-files/handlebars/features_test.adoc.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=={{#unless is_multipage}}={{/unless}} {{ page.name }}
== {{ page.name }}

{{#if page.doc}}
{{page.doc.brief}}
{{/if}}

==={{#unless is_multipage}}={{/unless}} Synopsis
=== Synopsis

{{#if page.decl }}
[,cpp]
Expand All @@ -20,11 +20,11 @@ Declared in file <{{page.loc}}>
{{page.synopsis}}
{{#if page.doc.description}}
==={{#unless is_multipage}}={{/unless}} Description
=== Description
{{page.doc.description}}
=={{#unless is_multipage}}={{/unless}} Basic
== Basic
{{/if}}
Expand Down Expand Up @@ -53,7 +53,7 @@ People:
{{#each page.people}}* Person: {{firstname}} {{lastname}} in page about `{{../page/name}}`
{{/each}}
=={{#unless is_multipage}}={{/unless}} Expressions
== Expressions
// Render complete context with "." as key
{{.}}
Expand Down Expand Up @@ -120,7 +120,7 @@ html-escaped: {{page.specialChars}}
{{>escaped}}
=={{#unless is_multipage}}={{/unless}} Partials
== Partials
// Basic partials
{{>record-detail}}
Expand Down Expand Up @@ -169,7 +169,7 @@ My Content
{{/pageLayout}}
=={{#unless is_multipage}}={{/unless}} Blocks
== Blocks
// Block noop
<div class="entry">
Expand Down Expand Up @@ -290,7 +290,7 @@ My Content
{{/each}}
{{/each}}
=={{#unless is_multipage}}={{/unless}} Built-in Helpers
== Built-in Helpers
// Author
{{#if author}}
Expand Down Expand Up @@ -389,7 +389,7 @@ No city found
{{log "logging a warning" level="warn"}}
{{log "logging an error" level="error"}}
=={{#unless is_multipage}}={{/unless}} Hooks
== Hooks
// Helper missing
{{foo}}
Expand All @@ -403,7 +403,7 @@ No city found
{{firstname}} {{lastname}}
{{/person}}
=={{#unless is_multipage}}={{/unless}} String helpers
== String helpers
// capitalize
{{ capitalize 'Hello world!' }}
Expand Down Expand Up @@ -682,7 +682,7 @@ No city found
{{ strip_namespace 'std::basic_string<char, typename B::value_type>' }}
{{#strip_namespace }}std::basic_string<char, typename B::value_type>{{/strip_namespace}}
=={{#unless is_multipage}}={{/unless}} Containers
== Containers
// size
{{ size containers.array }}
Expand Down

0 comments on commit 9ef4c38

Please # to comment.