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
Sinject::Container#register will check that a key parameter has been provided and raise an error if it is absent. However, it does not check that the key is non-nil.
Sinject::Container#register
will check that akey
parameter has been provided and raise an error if it is absent. However, it does not check that the key is non-nil.Steps to reproduce:
Expected:
Sinject::DependencyRegistrationKeyNotSpecifiedException
or similar to be raised.Actual:
Nothing is raised.
container.get(nil)
returns an instance ofObject
.The text was updated successfully, but these errors were encountered: