mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-01 13:04:25 +02:00
refactor: remove test run code
This commit is contained in:
parent
85c9ea34aa
commit
aeb6a69e3d
1 changed files with 0 additions and 9 deletions
|
@ -7,15 +7,6 @@ import (
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMultiline(t *testing.T) {
|
|
||||||
multiline := Multiline()
|
|
||||||
multiline.Addf("line 1 %s", "test")
|
|
||||||
multiline.Adds("line 2")
|
|
||||||
multiline.AddLines([]any{1, "2", 3.0, net.IPv4(127, 0, 0, 1)})
|
|
||||||
t.Error(New("result").With(multiline))
|
|
||||||
t.Error(multiline.Subject("subject").Withf("inner"))
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestWrapMultiline(t *testing.T) {
|
func TestWrapMultiline(t *testing.T) {
|
||||||
multiline := Multiline()
|
multiline := Multiline()
|
||||||
var wrapper error = wrap(multiline)
|
var wrapper error = wrap(multiline)
|
||||||
|
|
Loading…
Add table
Reference in a new issue