1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Add Weekly thread #43

This commit is contained in:
lukinovec 2021-10-29 20:50:56 +02:00
parent 26615990e5
commit 15fcd91355
8 changed files with 92 additions and 0 deletions

View file

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