rustdoc: add channel normalization to htmldocck.py
This commit is contained in:
parent
7dd3861235
commit
dadf3bdeff
1 changed files with 2 additions and 0 deletions
|
@ -423,6 +423,8 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text):
|
|||
else:
|
||||
actual_str = flatten(actual_tree)
|
||||
|
||||
expected_str = expected_str.replace("{{channel}}", channel)
|
||||
|
||||
# Conditions:
|
||||
# 1. Is --bless
|
||||
# 2. Are actual and expected tree different
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue