Lines Matching refs:expected
106 func AssertSameResponse(t *testing.T, actual []string, expected []string) {
109 sort.Strings(expected)
110 if !reflect.DeepEqual(actual, expected) {
112 len(expected), expected, len(actual), actual)
116 func AssertSameStatCalls(t *testing.T, actual []string, expected []string) {
119 sort.Strings(expected)
121 if !reflect.DeepEqual(actual, expected) {
128 actual, expected)
132 func AssertSameReadDirCalls(t *testing.T, actual []string, expected []string) {
135 sort.Strings(expected)
137 if !reflect.DeepEqual(actual, expected) {
144 actual, expected)