mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
remove simplify mock
This commit is contained in:
parent
3fc28e8053
commit
4b7e5e0cb2
1 changed files with 0 additions and 11 deletions
|
@ -138,17 +138,6 @@ var simplifyTests = []struct {
|
|||
{`(){0,2}`, `(?:()()?)?`},
|
||||
}
|
||||
|
||||
func TestSimplify2(t *testing.T) {
|
||||
re, err := Parse(`[a-ee-gg-m]`, Perl|DotNL)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s := re.Simplify().String()
|
||||
if s != `[a-m]` {
|
||||
t.Errorf("Simplify(%#q) = %#q, want %#q", re.String(), s, `[a-m]`)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSimplify(t *testing.T) {
|
||||
for _, tt := range simplifyTests {
|
||||
re, err := Parse(tt.Regexp, MatchNL|Perl&^OneLine)
|
||||
|
|
Loading…
Reference in a new issue