Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Jan 7, 2025
1 parent 6381765 commit acef9c7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkg/ottl/ottlfuncs/func_flatten_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/pdata/pcommon"

"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl"
Expand Down Expand Up @@ -479,10 +478,8 @@ func Test_flatten_undeterministic(t *testing.T) {

keys, val := extractKeysAndValues(m.AsRaw())

require.True(t, compareSlices(keys, tt.expectedKeys))
require.True(t, compareSlices(val, tt.expectedValues))

//assert.Equal(t, tt.expected, m.AsRaw())
assert.True(t, compareSlices(keys, tt.expectedKeys))
assert.True(t, compareSlices(val, tt.expectedValues))
})
}
}
Expand Down

0 comments on commit acef9c7

Please sign in to comment.