Remove internal/test pkg

This commit is contained in:
Denis Arh
2019-10-01 17:42:26 +02:00
parent 77ce40cf1a
commit f5f0096035
57 changed files with 933 additions and 666 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ import (
"time"
"github.com/cortezaproject/corteza-server/compose/types"
"github.com/cortezaproject/corteza-server/internal/test"
"github.com/stretchr/testify/require"
)
func Test_RecordEncoding(t *testing.T) {
@@ -75,7 +75,7 @@ func Test_RecordEncoding(t *testing.T) {
}
csvWriter.Flush()
test.Assert(t,
require.True(t,
buf.String() == tt.flatResult,
"Unexpected result: \n%s\n%s",
buf.String(),
@@ -93,7 +93,7 @@ func Test_RecordEncoding(t *testing.T) {
}
}
test.Assert(t,
require.True(t,
buf.String() == tt.structResult,
"Unexpected result: \n%s\n%s",
buf.String(),