mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-21 11:31:38 +01:00
fix bug with some special chars
This commit is contained in:
@@ -177,6 +177,12 @@ public class SearchUtilTest
|
||||
"testhansolo"));
|
||||
assertFalse(SearchUtil.matchesAll(new SearchRequest("test\\hansolo"),
|
||||
"test\\hnsolo"));
|
||||
assertTrue(SearchUtil.matchesAll(new SearchRequest("{test,hansolo} tst"),
|
||||
"{test,hansolo} tst"));
|
||||
assertTrue(SearchUtil.matchesAll(new SearchRequest("(test,hansolo) tst"),
|
||||
"(test,hansolo) tst"));
|
||||
assertTrue(SearchUtil.matchesAll(new SearchRequest("[test,hansolo] tst"),
|
||||
"[test,hansolo] tst"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user