Skip to content

Conversation

@masterzen
Copy link
Contributor

Along with comparing arrays independently of their orders from PR #5, this code makes sure arrays are correctly compared elements by elements.

This also includes support for comparing empty values:
{:resources => { :requests=> {:cpu => "1"}}}
comparing with
{:resources => nil}

This is less smart than the current version but also more correct, as
the previous version was comparing only the first element of should, if
should was an array.

This also includes support for comparing empty values:
    {:resources => { :requests=> {:cpu => "1"}}}
    comparing with
    {:resources => nil}
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.

1 participant