Skip to content

Commit fdadcfc

Browse files
committed
reduce render-mandoc approval noise
1 parent adb9d03 commit fdadcfc

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

examples/hooks/src/before.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Any code here will be placed inside a `before_hook()` function and called
44
## before running any command (but after processing its arguments).
55
##
6+
## - The processed args are available to you here as `$args` and `$extra_args`
7+
## - The raw input array is also available in read-only mode as `$input`
8+
##
69
## You can safely delete this file if you do not need it.
710
echo "==[ Before Hook Called ]=="
811
inspect_args

examples/render-mandoc/docs/download.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Automatically generated by Pandoc 3.2
22
.\"
3-
.TH "download" "1" "August 2025" "Version 0.1.0" "Sample application"
3+
.TH "download" "1" "January 2026" "Version 0.1.0" "Sample application"
44
.SH NAME
55
\f[B]download\f[R] \- Sample application
66
.SH SYNOPSIS

examples/render-mandoc/docs/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% download(1) Version 0.1.0 | Sample application
22
% Lana Lang
3-
% August 2025
3+
% January 2026
44

55
NAME
66
==================================================

spec/approvals/examples/render-mandoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ ISSUE TRACKER
4444
AUTHORS
4545
Lana Lang.
4646

47-
Version 0.1.0 August 2025 download(1)
47+
<footer>

spec/bashly/integration/examples_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
# For certain examples, allow some exceptions (replacements) since they
2828
# are too volatile (e.g. line number changes)
2929
exceptions = {
30-
'examples/stacktrace' => [/download:\d+/, 'download:<line>']
30+
'examples/stacktrace' => [/download:\d+/, 'download:<line>'],
31+
'examples/render-mandoc' => [/Version 0.1.0.*download\(1\)/, '<footer>'],
3132
}
3233

3334
test_cases.each do |example|

0 commit comments

Comments
 (0)