Skip to content

Commit

Permalink
Merge pull request #2 from leojonathanoh/fix/encoding-do-not-use-non-…
Browse files Browse the repository at this point in the history
…ascii-characters-in-test

Fix (encoding): Do not use non-ASCII characters in test
  • Loading branch information
leojonathanoh authored May 5, 2021
2 parents 65697ac + 2354922 commit 41c16d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Type-Pwsh/public/whatis.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.'
Describe "whatis" -Tag 'unit' {

It 'Given a byte, it returns a utf8 string' {
$this = 240,159,144,145
$that = '🐑'
$this = 97,110,105,109,97,108
$that = 'animal'

whatis $this | Should -Be $that
}
Expand Down

0 comments on commit 41c16d6

Please sign in to comment.