You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command tests use the mockUI instantiated bynew(cli.MockUi), however, the library states this is incorrect and should be avoided.
// Do not instantite this
// directly since the buffers will be initialized on the first write. If
// there is no write then you will get a nil panic. Please use the
// NewMockUi() constructor function instead.
The Nomad tests (detailed below) should therefore be updated to avoid this behaviour.
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
The command tests use the mockUI instantiated by
new(cli.MockUi)
, however, the library states this is incorrect and should be avoided.The Nomad tests (detailed below) should therefore be updated to avoid this behaviour.
The text was updated successfully, but these errors were encountered: