aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/PatternUtilTest.java
blob: b6b05e88c81bf14def3ba8faa0b48d4d8e284ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.traccar.helper;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class PatternUtilTest {
    
    @Test
    public void testCheckPattern() {

        assertEquals("ab", PatternUtil.checkPattern("abc", "abd").getPatternMatch());

    }

}