We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The test-ui helper assumes the PromptOptions parameter on Prompt is always non-null: https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/testhelpers/terminal/test_ui.go#L61
This is inconsistent with the way the actual runtime works since the Prompt type has a default embedded PromptOptions field initialized to default values https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/bluemix/terminal/prompt.go#L42 and then NewPrompt optionally overrides this default: https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/bluemix/terminal/prompt.go#L56
As a result, if you want to do ginkgo tests using the fake UI Prompt, you are required to provide a PromptOptions parameter on your runtime code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The test-ui helper assumes the PromptOptions parameter on Prompt is always non-null: https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/testhelpers/terminal/test_ui.go#L61
This is inconsistent with the way the actual runtime works since the Prompt type has a default embedded PromptOptions field initialized to default values https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/bluemix/terminal/prompt.go#L42 and then NewPrompt optionally overrides this default: https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/blob/master/bluemix/terminal/prompt.go#L56
As a result, if you want to do ginkgo tests using the fake UI Prompt, you are required to provide a PromptOptions parameter on your runtime code.
The text was updated successfully, but these errors were encountered: