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

Add error for missing variable #57

Merged
merged 2 commits into from
Aug 20, 2020
Merged

Add error for missing variable #57

merged 2 commits into from
Aug 20, 2020

Conversation

paultyng
Copy link
Contributor

@paultyng paultyng commented Aug 20, 2020

This only tests plans, I assumed the error strings were the same, but probably wouldn't hurt to add an apply test as well.

I also resolved a minor issue where erroring commands were not in the test logging.

@paultyng paultyng requested a review from kmoe August 20, 2020 00:58
@paultyng paultyng added the enhancement New feature or request label Aug 20, 2020
)

var (
// The "Required variable not set:" case is for 0.11
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved these out here so that the bad regexp panic happens at init time, and not at error parse time.

@paultyng paultyng merged commit e50c937 into master Aug 20, 2020
@paultyng paultyng deleted the missingvar branch August 20, 2020 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants