Skip to content

testing: silly typo in documentation #56479

Description

@seebs

What version of Go are you using (go version)?

$ go version
1.19.2

Does this issue reproduce with the latest release?

y

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

Read the docs.

What did you expect to see?

Fewer typos.

What did you see instead?

In the FuzzJSONMarshaling example:

t.Error("Marshal: %v", err)

Either this shouldn't have the "%v", or it should be t.Errorf.

Activity

  1. ianlancetaylor commented on Oct 28, 2022

    @ianlancetaylor
    Contributor

    Thanks, sending a CL.

  2. gopherbot commented on Oct 28, 2022

    @gopherbot
    Contributor

    Change https://go.dev/cl/446275 mentions this issue: testing: change Error to Errorf in comment

  3. added a commit that references this issue on Nov 3, 2022
    24a8fb1
  4. locked and limited conversation to collaborators on Oct 28, 2023
  5. added a commit that references this issue on Feb 20, 2024
    4c69d0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions