Open workhorsy opened 3 years ago
It would be nice to have a way to assert that associative arrays have a certain key.
unittest { string[string] data = [ "breakfast" : "eggs", "lunch" : "tuna sandwitch", "dinner" : "pizza", ]; data.shouldHaveKey("lunch"); }
It would be nice to have a way to assert that associative arrays have a certain key.