mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
postfix wip!
This commit is contained in:
parent
e32bc43c4e
commit
e037c57725
@ -50,7 +50,7 @@ func AssertResult(t *testing.T, expectedValue interface{}, actualValue interface
|
|||||||
func AssertResultComplex(t *testing.T, expectedValue interface{}, actualValue interface{}) {
|
func AssertResultComplex(t *testing.T, expectedValue interface{}, actualValue interface{}) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
if !reflect.DeepEqual(expectedValue, actualValue) {
|
if !reflect.DeepEqual(expectedValue, actualValue) {
|
||||||
t.Error("Expected <", expectedValue, "> but got <", actualValue, ">", fmt.Sprintf("%T", actualValue))
|
t.Error("\nExpected <", expectedValue, ">\nbut got <", actualValue, ">", fmt.Sprintf("%T", actualValue))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user