chore: make print pretty (#1967)

This commit is contained in:
Kevin Wan
2022-06-04 19:53:22 +08:00
committed by GitHub
parent 6c94e4652e
commit f366e1d936
2 changed files with 7 additions and 5 deletions

View File

@@ -350,10 +350,11 @@ func TestServer_PrintRoutes(t *testing.T) {
Name: foo
Port: 54321
`
expect = `GET /bar
GET /foo
GET /foo/:bar
GET /foo/:bar/baz
expect = `routes:
GET /bar
GET /foo
GET /foo/:bar
GET /foo/:bar/baz
`
)