From cc823420011a4f38f78cae9d3aa1bc01f8c3e2ee Mon Sep 17 00:00:00 2001 From: Looly Date: Fri, 29 Nov 2024 17:51:05 +0800 Subject: [PATCH] add test --- .../test/java/cn/hutool/http/IssueIB7REWTest.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hutool-http/src/test/java/cn/hutool/http/IssueIB7REWTest.java diff --git a/hutool-http/src/test/java/cn/hutool/http/IssueIB7REWTest.java b/hutool-http/src/test/java/cn/hutool/http/IssueIB7REWTest.java new file mode 100644 index 000000000..58db5ce38 --- /dev/null +++ b/hutool-http/src/test/java/cn/hutool/http/IssueIB7REWTest.java @@ -0,0 +1,15 @@ +package cn.hutool.http; + +import cn.hutool.core.lang.Console; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +public class IssueIB7REWTest { + @Test + @Disabled + void getTest() { + System.setProperty("jdk.tls.namedCurves", "secp256r1,secp384r1,secp521r1"); + final String s = HttpUtil.get("https://ebssec.boc.cn/"); + Console.log(s); + } +}