]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/htmldocck.py
Rollup merge of #100349 - TaKO8Ki:remove-type-string-comparison, r=lcnr
[rust.git] / src / etc / htmldocck.py
index 70b6af717cd384c81526a267ee437e75d134ac51..d02ac9d9c0ab7adb8d3092e6209250e95e87db38 100644 (file)
@@ -440,6 +440,7 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text):
 
         if bless:
             with open(snapshot_path, 'w') as snapshot_file:
+                actual_str = actual_str.replace(channel, "{{channel}}")
                 snapshot_file.write(actual_str)
         else:
             print('--- expected ---\n')