-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Add assoc array assertions #8
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
============================================
+ Coverage 95.83% 96.42% +0.59%
- Complexity 10 12 +2
============================================
Files 1 1
Lines 24 28 +4
============================================
+ Hits 23 27 +4
Misses 1 1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you. assert message string missing :)
everything else looks good.
src/Asserts.php
Outdated
|
||
public function assertIsAssocArray(array $array) | ||
{ | ||
$this->assertTrue(\array_keys($array) !== \range(0, \count($array) - 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert msg missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I will add that.
Introduction
This is a...