Skip to content

bborbe/assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assert

Assert ala Java Hamcrest in Go

Usage

import (
  "testing"
  . "github.com/bborbe/assert"
)

func TestEquals(t *testing.T) {
  value := ...
  if err := AssertThat(value, Is("foo")); err != nil {
    t.Fatal(err)
  }
}

About

Assert ala Java Hamcrest in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published