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

MINOR: trim environment variable values #79

Merged

Conversation

ph
Copy link

@ph ph commented Oct 10, 2017

When working on #78, I was hit by a test failing on linux (debian host)
Our code is triming values so we need to adjust the test code to make
sure we also trim values before doing the comparison.

Example:

	expected: "${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ "
	            	actual: "${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$"

@ph ph changed the title (WIP) MINOR: trim environment variable values MINOR: trim environment variable values Oct 11, 2017
@ph ph added the review label Oct 11, 2017
When working on elastic#78, I was hit by a test failing on linux (debian host)
Our code is triming values so we need to adjust the test code to make
sure we also trim values before doing the comparison.

Example:
```
	expected: "${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ "
	            	actual: "${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$"
```
@ph ph force-pushed the fix/trim-environment-variable-when-comparing branch from 1b14560 to b1515f2 Compare October 11, 2017 13:13
@andrewkroh andrewkroh merged commit 588927e into elastic:master Oct 11, 2017
@ph ph deleted the fix/trim-environment-variable-when-comparing branch October 11, 2017 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants