Merge commit '2cd9d9073e6e7afa19d969269002886532492dd1' as 'third_party/src/github.com/codegangsta/cli'

This commit is contained in:
Frederick F. Kautz IV
2014-11-02 14:54:31 -05:00
17 changed files with 2945 additions and 0 deletions

View 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))
}
}