Skip to content

x/net/websocket: Errorf call with %q on wrong type #76603

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/net/websocket" && test == "" && `Errorf format %q has arg http.StatusSwitchingProtocols of wrong type int`

Issue created automatically to collect these failures.

Example (log):

FAIL	golang.org/x/net/websocket [build failed]
# golang.org/x/net/websocket
# [golang.org/x/net/websocket]
websocket/hybi_test.go:193:29: (*testing.common).Errorf format %q has arg http.StatusSwitchingProtocols of wrong type int
websocket/hybi_test.go:242:29: (*testing.common).Errorf format %q has arg http.StatusSwitchingProtocols of wrong type int
websocket/hybi_test.go:245:54: (*testing.common).Errorf format %q has arg len(config.Protocol) of wrong type int
websocket/hybi_test.go:288:29: (*testing.common).Errorf format %q has arg http.StatusBadRequest of wrong type int
websocket/hybi_test.go:586:29: (*testing.common).Errorf format %q has arg http.StatusSwitchingProtocols of wrong type int
websocket/websocket_test.go:326:27: (*testing.common).Errorf format %q has arg http.StatusBadRequest of wrong type int

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.

    Type

    No type

    Projects

    Status

    Active

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions