Skip to content

Commit

Permalink
Add missing test for encode_utf8 (#683)
Browse files Browse the repository at this point in the history
* Add missing test for encode_utf8

* Fix CI error by only run under std

* Merge test into testing framework for utf8 testing

---------

Co-authored-by: cxworks <cxworks@qq.com>
  • Loading branch information
CXWorks and JustForMaven authored Dec 11, 2023
1 parent 73258a7 commit dd82a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basic_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn test_numbers() {
the_same(false);

// utf8 characters
for char in "aÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö文".chars()
for char in "aÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö文😀😁😂😃".chars()
{
the_same(char);
}
Expand Down

0 comments on commit dd82a9c

Please sign in to comment.