mirror of
https://github.com/rancher/os.git
synced 2025-09-08 10:11:46 +00:00
move dependencies to vendor
This commit is contained in:
19
vendor/github.com/codegangsta/cli/helpers_test.go
generated
vendored
Normal file
19
vendor/github.com/codegangsta/cli/helpers_test.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package cli_test
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"testing"
|
||||
)
|
||||
|
||||
/* Test Helpers */
|
||||
func expect(t *testing.T, a interface{}, b interface{}) {
|
||||
if 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 {
|
||||
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