From 9a3d0aed7dc703579892d6d27b88744187e7c5be Mon Sep 17 00:00:00 2001 From: Palin Date: Mon, 16 Sep 2019 10:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/fanruan/api/util/CodeKitTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/fanruan/api/util/CodeKitTest.java b/src/test/java/com/fanruan/api/util/CodeKitTest.java index 5c07d12..af99858 100644 --- a/src/test/java/com/fanruan/api/util/CodeKitTest.java +++ b/src/test/java/com/fanruan/api/util/CodeKitTest.java @@ -23,8 +23,10 @@ public class CodeKitTest { } } + + @Test public void encodeURIComponent() { - String s = "中文 한글 日本語"; + String s = "123"; String encode = CodeUtils.encodeURIComponent(s); try {