gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

forward_requirements.go (428B)


      1 package require
      2 
      3 // Assertions provides assertion methods around the
      4 // TestingT interface.
      5 type Assertions struct {
      6 	t TestingT
      7 }
      8 
      9 // New makes a new Assertions object for the specified TestingT.
     10 func New(t TestingT) *Assertions {
     11 	return &Assertions{
     12 		t: t,
     13 	}
     14 }
     15 
     16 //go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=require -template=require_forward.go.tmpl -include-format-funcs"