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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(flex): add Stringify function and tests #5240

Merged
merged 1 commit into from Mar 30, 2024

Conversation

padamstx
Copy link
Contributor

This PR adds the Stringify() function and its unit tests to the flex module. This new function will be used by Terraform code emitted by the SDK generator.

Community Note

  • Please vote on this pull request by adding a 馃憤 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Output from acceptance testing:

$ cd ibm/flex && go test -v -run TestStringify
=== RUN   TestStringifyString
--- PASS: TestStringifyString (0.00s)
=== RUN   TestStringifyBoolean
--- PASS: TestStringifyBoolean (0.00s)
=== RUN   TestStringifyNumber
--- PASS: TestStringifyNumber (0.00s)
=== RUN   TestStringifySlice
--- PASS: TestStringifySlice (0.00s)
=== RUN   TestStringifyMap
--- PASS: TestStringifyMap (0.00s)
PASS
ok  	github.com/IBM-Cloud/terraform-provider-ibm/ibm/flex	0.012s
...

@padamstx
Copy link
Contributor Author

@hkantare Please review and merge when you can. This change is needed by a generator PR which we'll wait and merge after this one. Thanks!

Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
@hkantare hkantare merged commit 5b2c984 into IBM-Cloud:master Mar 30, 2024
1 check passed
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