Skip to content

Commit 9f1fca1

Browse files
authored
Update rest client test (#6)
1 parent df6963b commit 9f1fca1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

internal/rest_client_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ var (
1313
)
1414

1515
func TestShowRequest(t *testing.T) {
16-
err := run(testConfigFile, testHttpFile, showHandler(0))
17-
if err != nil {
18-
t.Error(err)
16+
for i := 0; i < 5; i++ {
17+
t.Log("test show request id=", i)
18+
err := run(testConfigFile, testHttpFile, showHandler(i))
19+
if err != nil {
20+
t.Error(err)
21+
}
1922
}
2023
}
2124

0 commit comments

Comments
 (0)