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

Docs examples: use double quotes to prevent escaping backslash in the expected string #1413

Merged
merged 1 commit into from
Jan 16, 2017

Conversation

techraf
Copy link
Contributor

@techraf techraf commented Jan 16, 2017

Using single quotes produced:

  ×  echo-01: Test echo (
     expected: "hello\\n"
          got: "hello\n"

Using double quotes fixes the problem.

@chris-rock
Copy link
Contributor

@techraf Thank you for pointing this out.

This is an obvious fix according to our contribution guidelines. https://github.com/chef/inspec/blob/master/CONTRIBUTING.md Therefore we do not need the DCO. Please sign-off your commits next time.

@chris-rock chris-rock merged commit 35d8800 into inspec:master Jan 16, 2017
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.

None yet

2 participants