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

Handle cycles from XTestImports #16

@timstclair

Description

@timstclair

Tests can have a different package from the package they're testing, such as with the stdlib package http / http_test (not to be confused with httptest). The most common reason for this structure is to avoid import cycles,

Currently we include both TestImpors and XTestImports when IncludeTests is set, which can cause the godepq dependency graph to have cycles. Cycles in the graph are problematic for functions like DepthLast.

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