mirror of https://github.com/databricks/cli.git
Fix dynassert test
This commit is contained in:
parent
3c3ef41588
commit
3b3bdeef90
|
@ -111,3 +111,7 @@ func PanicsWithError(t assert.TestingT, errString string, f func(), msgAndArgs .
|
||||||
func NotPanics(t assert.TestingT, f func(), msgAndArgs ...interface{}) bool {
|
func NotPanics(t assert.TestingT, f func(), msgAndArgs ...interface{}) bool {
|
||||||
return assert.NotPanics(t, f, msgAndArgs...)
|
return assert.NotPanics(t, f, msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func JSONEq(t assert.TestingT, expected string, actual string, msgAndArgs ...interface{}) bool {
|
||||||
|
return assert.JSONEq(t, expected, actual, msgAndArgs...)
|
||||||
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
assert "github.com/databricks/cli/libs/dyn/dynassert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue