mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add method
This commit is contained in:
@@ -92,5 +92,11 @@ public class Base64Test {
|
||||
|
||||
@Test
|
||||
public void decodeEmojiTest(){
|
||||
String str = "😄";
|
||||
final String encode = Base64.encode(str);
|
||||
// Console.log(encode);
|
||||
|
||||
final String decodeStr = Base64.decodeStr(encode);
|
||||
Assert.assertEquals(str, decodeStr);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user