mirror of
https://github.com/rancher/os.git
synced 2025-09-06 09:14:31 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
6
vendor/github.com/codegangsta/cli/helpers_test.go
generated
vendored
6
vendor/github.com/codegangsta/cli/helpers_test.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
package cli_test
|
||||
package cli
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
@@ -7,13 +7,13 @@ import (
|
||||
|
||||
/* Test Helpers */
|
||||
func expect(t *testing.T, a interface{}, b interface{}) {
|
||||
if a != b {
|
||||
if !reflect.DeepEqual(a, b) {
|
||||
t.Errorf("Expected %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a))
|
||||
}
|
||||
}
|
||||
|
||||
func refute(t *testing.T, a interface{}, b interface{}) {
|
||||
if a == b {
|
||||
if reflect.DeepEqual(a, b) {
|
||||
t.Errorf("Did not expect %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user