Skip to content

Conversation

@phansch
Copy link
Contributor

@phansch phansch commented Dec 31, 2020

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.

changelog: none

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.
This should make the code slightly more understandable
@rust-highfive
Copy link

r? @ebroto

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Dec 31, 2020
@phansch
Copy link
Contributor Author

phansch commented Dec 31, 2020

r? @flip1995

@rust-highfive rust-highfive assigned flip1995 and unassigned ebroto Dec 31, 2020
@phansch
Copy link
Contributor Author

phansch commented Dec 31, 2020

I now tested creating, updating and removing reference files in 'top level' and sub-directories, hopefully this is bug free now 🤞

@flip1995
Copy link
Member

flip1995 commented Jan 4, 2021

Let's hope so 😄

@bors r+

@bors
Copy link
Contributor

bors commented Jan 4, 2021

📌 Commit 6909055 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jan 4, 2021

⌛ Testing commit 6909055 with merge 8951916...

@bors
Copy link
Contributor

bors commented Jan 4, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 8951916 to master...

@bors bors merged commit 8951916 into rust-lang:master Jan 4, 2021
@phansch phansch deleted the fix-bless-in-subdirs branch January 4, 2021 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants