pester / docs

Source files for the Pester website.
https://pester.dev
MIT License
41 stars 77 forks source link

Add missing Emoji and Fruit sample functions #207

Closed fflaten closed 2 years ago

fflaten commented 2 years ago

Fix #140

fflaten commented 2 years ago

I should probably drop the class for pscustomobject so it works with all supported PS-versions.

bravo-kernel commented 2 years ago

I think (1) all-platform examples are the way to go (2) perhaps you could start using "good to merge" message once things are done.

fflaten commented 2 years ago

perhaps you could start using "good to merge" message once things are done.

It was good to merge, until I realized this compatibility-issue on my way to work. Mobile app won't let me convert to draft PR, so left the comment until I can change it 🙂

bravo-kernel commented 2 years ago

Never noticed the "Draft PR" status before :-D

fflaten commented 2 years ago

TIL about EnumerateRunes() in .NET Core, so PS6+. Not sure when I'll need it, but thanks @nohwnd 😄

After rewriting it I realized emojis don't work well in PS 5.1 either way so I also added "(PowerShell 6 or later)" to them. At least they can see the code and follow along.

bravo-kernel commented 2 years ago

This is very very cool 💃

image