Skip to content

Commit

Permalink
update to utf8proc 2.6 (#38551)
Browse files Browse the repository at this point in the history
* update to utf8proc 2.6

* another test

(cherry picked from commit 6fbee29)
  • Loading branch information
stevengj authored and vchuravy committed Jan 21, 2021
1 parent fd3af72 commit fd30588
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7160adb996918abbe1ea67013f8e1dc7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3943b95e4a37f8a452ef72996868bac640cfd564ebb46de359db324c99ffe67300c53be936d492c370d8e08a3a9ca7230cb0dd6341959018b7c6d78b3016f2b2
4 changes: 2 additions & 2 deletions deps/utf8proc.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
UTF8PROC_BRANCH=v2.5.0
UTF8PROC_SHA1=0890a538bf8238cded9be0c81171f57e43f2c755
UTF8PROC_BRANCH=v2.6.0
UTF8PROC_SHA1=df2997a300792b8efd6a1ea9281c14dfe986d6f9
6 changes: 6 additions & 0 deletions stdlib/Unicode/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ end
@test collect(g) == ["1","2","3","α","5"]
end

@testset "#37680: initial graphemes" begin
@test collect(graphemes("🤦🏼‍♂️")) == ["🤦🏼‍♂️"]
@test collect(graphemes("👨🏻‍🤝‍👨🏽")) == ["👨🏻‍🤝‍👨🏽"]
@test collect(graphemes("🇸🇪🇸🇪")) == ["🇸🇪","🇸🇪"]
end

@testset "uppercasefirst/lowercasefirst" begin
@test uppercasefirst("Hola")=="Hola"
@test uppercasefirst("hola")=="Hola"
Expand Down

0 comments on commit fd30588

Please sign in to comment.