github.com/fnando/bolt@v0.0.4-0.20231107225351-5241e4d187b8/test/reference/pass/main_test.go (about) 1 //go:build reference 2 // +build reference 3 4 package pass 5 6 import ( 7 "testing" 8 "time" 9 10 "github.com/stretchr/testify/assert" 11 ) 12 13 func TestEqualStringPass(t *testing.T) { 14 time.Sleep(10 * time.Millisecond) 15 assert.Equal(t, "hello", "hello") 16 } 17 18 func TestEqualNumberPass(t *testing.T) { 19 time.Sleep(20 * time.Millisecond) 20 assert.Equal(t, 1, 1) 21 }