Skip to content

Commit

Permalink
test(logqlengine): update test due to API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Jul 8, 2024
1 parent 9f61d6f commit 16a1c77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/logql/logqlengine/pattern_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/go-faster/oteldb/internal/logql"
"github.com/go-faster/oteldb/internal/logql/logqlengine/logqlabels"
"github.com/go-faster/oteldb/internal/logql/logqlengine/logqlpattern"
)

func TestPatternExtractor(t *testing.T) {
Expand Down Expand Up @@ -37,7 +38,7 @@ func TestPatternExtractor(t *testing.T) {
tt := tt
t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) {
e, err := buildPatternExtractor(&logql.PatternLabelParser{
Pattern: tt.pattern,
Pattern: logqlpattern.MustParse(tt.pattern, logqlpattern.ExtractorFlags),
})
require.NoError(t, err)

Expand Down

0 comments on commit 16a1c77

Please sign in to comment.