1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00

Weekly thread #44

This commit is contained in:
lukinovec 2021-10-29 19:24:25 +02:00
parent 41ec0f6dd6
commit fc0a386cb1
12 changed files with 106 additions and 3 deletions

View file

@ -0,0 +1,13 @@
---
title: 'Use ->not to reverse an assertion in @pestphp '
tweet_id: '1454133816990240773'
thread_slug: weekly-thread-2021-44
author_username: enunomaduro
images:
- 'https://pbs.twimg.com/media/FCtnhAvXEAco-Kc.jpg'
created_at: 2021-10-29T17:11:33+00:00
slug: use-gtnot-to-reverse-an-assertion-in-at-pestphp
---
Pest reminder: if you know how to test something, "not()" lets you test its opposite. ✅
https://pestphp.com/docs/expectations#expect-not