-
Notifications
You must be signed in to change notification settings - Fork 284
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
Create unit tests for BATS helper functions #5134
Conversation
e03d7a7
to
c6b3367
Compare
f2f983f
to
ebb5709
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've amended the last commit to revert the erroneous changes from try
→ run try
in helpers/vm.bash
and profile/sample.bats
.
Unfortunately this breaks the current |
@test 'json_string' { | ||
run json_string foo\ bar\"baz\' | ||
assert_success | ||
assert_output "\"foo bar\\\"baz'\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??? Do you have a question about this?
Signed-off-by: Jan Dubois <jan.dubois@suse.com>
See rancher-sandbox#5104 So we don't need to check the output of `rdctl api /settings` for it anymore. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
No description provided.