about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2020-12-31 12:49:43 +0100
committerPhilipp Hansch <dev@phansch.net>2020-12-31 12:49:43 +0100
commit6b379322686c8b1552b2014ed560822de490cf27 (patch)
treefe85c58b083b2939cf56a02e9141adb6085d46e4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent0d8a27a6f6a1b0cd69f531d34dfbda65bbcf1cfa (diff)
downloadrust-6b379322686c8b1552b2014ed560822de490cf27.tar.gz
rust-6b379322686c8b1552b2014ed560822de490cf27.zip
Fix blessing of test output in subdirectories
The core issue was the usage of `reference_file_path.file_name()`, which
provided a non-existent path if the file to be updated was in a
subdirectory.

Instead we have to provide the whole path after 'tests/ui/' as the
'filename'. This part of the path is called `test_name` in the code now.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions