Skip to content

Commit acef9c7

Browse files
committed
polish
Signed-off-by: odubajDT <[email protected]>
1 parent 6381765 commit acef9c7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pkg/ottl/ottlfuncs/func_flatten_test.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"testing"
1010

1111
"github.com/stretchr/testify/assert"
12-
"github.com/stretchr/testify/require"
1312
"go.opentelemetry.io/collector/pdata/pcommon"
1413

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

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

482-
require.True(t, compareSlices(keys, tt.expectedKeys))
483-
require.True(t, compareSlices(val, tt.expectedValues))
484-
485-
//assert.Equal(t, tt.expected, m.AsRaw())
481+
assert.True(t, compareSlices(keys, tt.expectedKeys))
482+
assert.True(t, compareSlices(val, tt.expectedValues))
486483
})
487484
}
488485
}

0 commit comments

Comments
 (0)