diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-02 15:02:26 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-06-02 15:02:26 -0700 |
| commit | dadf3bdefff6c38d7f64d7ae4b14fbaca66ab96a (patch) | |
| tree | f2f331391705c97b4612913df13587f8391b105c /src/etc/htmldocck.py | |
| parent | 7dd3861235ecdcdfb0d5d992f9a8a698ab8caee6 (diff) | |
| download | rust-dadf3bdefff6c38d7f64d7ae4b14fbaca66ab96a.tar.gz rust-dadf3bdefff6c38d7f64d7ae4b14fbaca66ab96a.zip | |
rustdoc: add channel normalization to htmldocck.py
Diffstat (limited to 'src/etc/htmldocck.py')
| -rw-r--r-- | src/etc/htmldocck.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/htmldocck.py b/src/etc/htmldocck.py index 269b6868e29..5eb70ab13db 100644 --- a/src/etc/htmldocck.py +++ b/src/etc/htmldocck.py @@ -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 |
