Skip to content

Commit d411a08

Browse files
committed
Htmldocck: Substitute the doc channel when blessing
1 parent 93ffde6 commit d411a08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/etc/htmldocck.py

+1
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text):
440440

441441
if bless:
442442
with open(snapshot_path, 'w') as snapshot_file:
443+
actual_str = actual_str.replace(channel, "{{channel}}")
443444
snapshot_file.write(actual_str)
444445
else:
445446
print('--- expected ---\n')

0 commit comments

Comments
 (0)