Skip to content

Commit 1f3f72a

Browse files
authored
Update classfile.go
1 parent 02a2371 commit 1f3f72a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ytest/classfile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ func Gopt_App_Main(app interface{ initApp() *App }, workers ...interface{ initCa
109109

110110
// Host replaces a host into real. For example:
111111
//
112-
// host "https://example.com" "http://localhost:8080"
113-
// host "http://example.com" "http://localhost:8888"
112+
// host "https://example.com", "http://localhost:8080"
113+
// host "http://example.com", "http://localhost:8888"
114114
func (p *App) Host(host, real string) {
115115
if !strings.HasPrefix(host, "http") {
116116
test.Fatalf("invalid host `%s`: should start with http:// or https://\n", host)

0 commit comments

Comments
 (0)