1
Fork 0

rustdoc: add channel normalization to htmldocck.py

This commit is contained in:
Michael Howell 2022-06-02 15:02:26 -07:00
parent 7dd3861235
commit dadf3bdeff

View file

@ -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