You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by cr...@apache.org on 2022/05/17 11:33:56 UTC

[dubbo] branch 3.0 updated: fix NetUtilsInterfaceDisplayNameHasMetaCharactersTest regex spell mistake (#10041)

This is an automated email from the ASF dual-hosted git repository.

crazyhzm pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 07e2a8a9d5 fix NetUtilsInterfaceDisplayNameHasMetaCharactersTest regex spell mistake (#10041)
07e2a8a9d5 is described below

commit 07e2a8a9d55d6c67bf40947e2daa331bb4b3e116
Author: Wang Chengming <63...@qq.com>
AuthorDate: Tue May 17 19:33:21 2022 +0800

    fix NetUtilsInterfaceDisplayNameHasMetaCharactersTest regex spell mistake (#10041)
    
    Co-authored-by: 呈铭 <be...@antgroup.com>
---
 .../common/utils/NetUtilsInterfaceDisplayNameHasMetaCharactersTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-common/src/test/java/org/apache/dubbo/common/utils/NetUtilsInterfaceDisplayNameHasMetaCharactersTest.java b/dubbo-common/src/test/java/org/apache/dubbo/common/utils/NetUtilsInterfaceDisplayNameHasMetaCharactersTest.java
index 6e6ce36d4f..19200270ec 100644
--- a/dubbo-common/src/test/java/org/apache/dubbo/common/utils/NetUtilsInterfaceDisplayNameHasMetaCharactersTest.java
+++ b/dubbo-common/src/test/java/org/apache/dubbo/common/utils/NetUtilsInterfaceDisplayNameHasMetaCharactersTest.java
@@ -29,7 +29,7 @@ import static org.apache.dubbo.common.constants.CommonConstants.DUBBO_NETWORK_IG
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class NetUtilsInterfaceDisplayNameHasMetaCharactersTest {
-    private static final String IGNORED_DISPLAY_NAME_HAS_METACHARACTERS = "Mock(R) ^$*+?.|-[0-9] Adapter";
+    private static final String IGNORED_DISPLAY_NAME_HAS_METACHARACTERS = "Mock(R) ^$*+[?].|-[0-9] Adapter";
     private static final String SELECTED_DISPLAY_NAME = "Selected Adapter";
     private static final String SELECTED_HOST_ADDR = "192.168.0.1";