mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
2cd9d9073e
git-subtree-dir: third_party/src/github.com/codegangsta/cli git-subtree-split: f7ebb761e83e21225d1d8954fde853bf8edd46c4
20 lines
428 B
Go
20 lines
428 B
Go
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))
|
|
}
|
|
}
|