Skip to content

Commit dadf3bd

Browse files
committed
rustdoc: add channel normalization to htmldocck.py
1 parent 7dd3861 commit dadf3bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/htmldocck.py

+2
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text):
423423
else:
424424
actual_str = flatten(actual_tree)
425425

426+
expected_str = expected_str.replace("{{channel}}", channel)
427+
426428
# Conditions:
427429
# 1. Is --bless
428430
# 2. Are actual and expected tree different

0 commit comments

Comments
 (0)