Skip to content

krstak/testify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testify

Small assertion library

Install

go get github.com/krstak/testify

Usage

func TestTestify(t *testing.T) {
    testify.Equal(t)("super", "super")
    testify.NotEqual(t)("car", "street")
    testify.Nil(t)(nil)
    testify.NotNil(t)("house")
    testify.True(t)(10 > 2)
    testify.False(t)(10 == 2)
}

About

A small assertion library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages