[GH-ISSUE #156] go test fails #90

Closed
opened 2026-02-27 23:15:23 +03:00 by kerem · 0 comments
Owner

Originally created by @simon04 on GitHub (Oct 2, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/156

 > git describe --all --long
tags/v6.2-0-g6c586e2

 > go test (go list ./...)
# github.com/snail007/goproxy/core/dst
core/dst/conn.go:140: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/core/lib/mapx
core/lib/mapx/map.go:158: Printf call needs 1 arg but has 2 args
core/lib/mapx/map.go:177: Printf call needs 1 arg but has 2 args
core/lib/mapx/map.go:198: Printf call needs 1 arg but has 2 args
core/lib/mapx/map.go:224: Printf call needs 1 arg but has 2 args
core/lib/mapx/map.go:277: Printf call needs 1 arg but has 2 args
core/lib/mapx/map.go:287: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/utils/lb
utils/lb/backend.go:119: Printf call needs 1 arg but has 2 args
utils/lb/backend.go:154: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/core/lib/udp
core/lib/udp/udp.go:65: Printf call needs 1 arg but has 2 args
core/lib/udp/udp.go:78: Printf call needs 1 arg but has 2 args
core/lib/udp/udp.go:99: Printf call needs 1 arg but has 2 args
core/lib/udp/udp.go:159: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/services/tunnel
services/tunnel/tunnel_client.go:162: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_client.go:171: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_client.go:327: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_client.go:338: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_client.go:368: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_client.go:387: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_server.go:372: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_server.go:443: Printf call needs 1 arg but has 2 args
services/tunnel/tunnel_server.go:476: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/services/socks
services/socks/socks.go:195: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy/services/udp
services/udp/udp.go:177: Printf call needs 1 arg but has 2 args
services/udp/udp.go:219: Printf call needs 1 arg but has 2 args
services/udp/udp.go:241: Printf call needs 1 arg but has 2 args
services/udp/udp.go:278: Printf call needs 1 arg but has 2 args
services/udp/udp.go:355: Printf call needs 1 arg but has 2 args
services/udp/udp.go:369: Logger.Printf format %s reads arg #2, but call has 1 arg
services/udp/udp.go:388: Printf call needs 1 arg but has 2 args
# github.com/snail007/goproxy
./main.go:39: Printf call needs 1 arg but has 2 args
ok  	github.com/snail007/goproxy/core/cs/tests	0.008s
ok  	github.com/snail007/goproxy/core/proxy/client/tests	0.781s
ok  	github.com/snail007/goproxy/utils/cert	0.554s
Originally created by @simon04 on GitHub (Oct 2, 2018). Original GitHub issue: https://github.com/snail007/goproxy/issues/156 ``` > git describe --all --long tags/v6.2-0-g6c586e2 > go test (go list ./...) # github.com/snail007/goproxy/core/dst core/dst/conn.go:140: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/core/lib/mapx core/lib/mapx/map.go:158: Printf call needs 1 arg but has 2 args core/lib/mapx/map.go:177: Printf call needs 1 arg but has 2 args core/lib/mapx/map.go:198: Printf call needs 1 arg but has 2 args core/lib/mapx/map.go:224: Printf call needs 1 arg but has 2 args core/lib/mapx/map.go:277: Printf call needs 1 arg but has 2 args core/lib/mapx/map.go:287: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/utils/lb utils/lb/backend.go:119: Printf call needs 1 arg but has 2 args utils/lb/backend.go:154: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/core/lib/udp core/lib/udp/udp.go:65: Printf call needs 1 arg but has 2 args core/lib/udp/udp.go:78: Printf call needs 1 arg but has 2 args core/lib/udp/udp.go:99: Printf call needs 1 arg but has 2 args core/lib/udp/udp.go:159: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/services/tunnel services/tunnel/tunnel_client.go:162: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_client.go:171: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_client.go:327: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_client.go:338: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_client.go:368: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_client.go:387: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_server.go:372: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_server.go:443: Printf call needs 1 arg but has 2 args services/tunnel/tunnel_server.go:476: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/services/socks services/socks/socks.go:195: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy/services/udp services/udp/udp.go:177: Printf call needs 1 arg but has 2 args services/udp/udp.go:219: Printf call needs 1 arg but has 2 args services/udp/udp.go:241: Printf call needs 1 arg but has 2 args services/udp/udp.go:278: Printf call needs 1 arg but has 2 args services/udp/udp.go:355: Printf call needs 1 arg but has 2 args services/udp/udp.go:369: Logger.Printf format %s reads arg #2, but call has 1 arg services/udp/udp.go:388: Printf call needs 1 arg but has 2 args # github.com/snail007/goproxy ./main.go:39: Printf call needs 1 arg but has 2 args ok github.com/snail007/goproxy/core/cs/tests 0.008s ok github.com/snail007/goproxy/core/proxy/client/tests 0.781s ok github.com/snail007/goproxy/utils/cert 0.554s ```
kerem closed this issue 2026-02-27 23:15:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#90
No description provided.