YczYanchengzhe commented on a change in pull request #7636:
URL: https://github.com/apache/skywalking/pull/7636#discussion_r701077898



##########
File path: 
oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/analysis/metrics/expression/StringMatchTest.java
##########
@@ -23,44 +23,44 @@
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-public class EqualMatchTest {
+public class StringMatchTest {
 
     @Test
     public void integerShouldEqualWhenLargerThan128() {
         Integer a = 334;
         Integer b = 334;
-        boolean match = new EqualMatch().match(a, b);

Review comment:
       
![image](https://user-images.githubusercontent.com/45945752/131850965-c22bfa4f-2237-436e-b366-9b3313e98059.png)
   As kezhenxu94 said this can be solved by simply the matching rules support 
numbers in stringmatch I think this is a better solution and is the class name 
restored to EqualMatch, I think EqualMatch is more reasonable in design and 
functionality




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to