assert icon indicating copy to clipboard operation
assert copied to clipboard

No notInArray() Assertion

Open mdavis1982 opened this issue 10 years ago • 4 comments

There are not* assertions for lots of methods, but there isn't one for notInArray. I need this assertion for a project I'm working on, and, at the moment, I'm having to do this manually unless there is a better way of doing it.

Would it be possible to add this assertion?

mdavis1982 avatar Aug 21 '15 10:08 mdavis1982

@mdavis1982 Could you prepare PR?

TomasVotruba avatar Aug 21 '15 11:08 TomasVotruba

@TomasVotruba I can potentially do that over the weekend

mdavis1982 avatar Aug 21 '15 13:08 mdavis1982

@mdavis1982 - could you comment on https://github.com/beberlei/assert/issues/246.

I'm happy to make notInArray work the same as inArray, but if there was any reasons to not use strict comparison, then that would be useful to know.

rquadling avatar Feb 16 '18 21:02 rquadling

My preference would be strict.

rquadling avatar Feb 17 '18 00:02 rquadling