jquense / yup

Dead simple Object schema validation
MIT License
22.72k stars 925 forks source link

Fixed logic in "42" tests #2203

Open rmc29 opened 4 months ago

rmc29 commented 4 months ago

The logic in the "42" tests was backwards. It was checking that the number didn't equal 42, when it should check the number does equal 42.