Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/testscript: small tidy up #120

Merged
merged 1 commit into from
Jan 18, 2021
Merged

cmd/testscript: small tidy up #120

merged 1 commit into from
Jan 18, 2021

Conversation

myitcv
Copy link
Collaborator

@myitcv myitcv commented Jan 18, 2021

No description provided.

cmd/testscript/main.go Outdated Show resolved Hide resolved
Tidy up the naming of the directories within the temporary work dir,
from an integer corresponding to the 1-indexed argument number to the
basename of the argument.

As part of this change we better assert that scripts are indeed left
behind when -work is supplied.

Also make consistent the way we render a filename argument in the case
of an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants