1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
package example
// CAUTION: DO NOT EDIT
// Tests in this project rely on specific lines numbers
// throughout this file.
import (
"testing"
"github.com/matryer/is"
)
func TestSomething(t *testing.T) {
// this comment will be extracted
}
func TestSomethingElse(t *testing.T) {
is := is.New(t)
a, b := 1, 2
getB := func() int {
return b
}
is.True(a == getB()) // should be the same
}
func TestSomethingElseTpp(t *testing.T) {
is := is.New(t)
a, b := 1, 2
getB := func() int {
return b
}
is.True(a == getB())
}
|