Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Have all tests use t *testing.T instead of tt *testing.T #634

@andresuribe87

Description

@andresuribe87

The benefits include:

  • Preventing the subtest from accessing the upper level by hiding it.
  • More maintainable, as it's standard go practice.
  • Easier to copy/paste and move around tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingrelated to new or existing tests

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions