WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

The test relies on implementation details by setting Metrics to nil and expecting specific behavior. Consider using a more explicit test setup that doesn't depend on nil handling. #4195

@Fun32secg32

Description

@Fun32secg32

The test relies on implementation details by setting Metrics to nil and expecting specific behavior. Consider using a more explicit test setup that doesn't depend on nil handling.

		Metrics:           NewDefaultMetrics(), // explicitly use default metrics implementation

Originally posted by @Copilot in #4186 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions