diff options
| author | Philipp Hansch <dev@phansch.net> | 2020-12-31 12:49:43 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2020-12-31 12:49:43 +0100 |
| commit | 6b379322686c8b1552b2014ed560822de490cf27 (patch) | |
| tree | fe85c58b083b2939cf56a02e9141adb6085d46e4 /src/test/codegen/src-hash-algorithm | |
| parent | 0d8a27a6f6a1b0cd69f531d34dfbda65bbcf1cfa (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
