Skip to content
krstakPublic

About

A small assertion library

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages