Пример #1
0
func TestDefaultDocRootDir(t *testing.T) {
	assert.NotEqual(t, DefaultDoc.RootDir, "")
}
Пример #2
0
// NotEqual asserts that the specified values are NOT equal.
//
//    require.NotEqual(t, obj1, obj2, "two objects shouldn't be equal")
func NotEqual(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) {
	if !assert.NotEqual(t, expected, actual, msgAndArgs...) {
		t.FailNow()
	}
}