Skip to content

Tests fail - ExampleReadEnvWithURL refers to unknown identifier #158

@teeaa

Description

@teeaa

Current master fails tests at least on Go 1.24.3:

$ go test ./...
# github.com/ilyakaznacheev/cleanenv_test
# [github.com/ilyakaznacheev/cleanenv_test]
./example_test.go:167:1: ExampleReadEnvWithURL refers to unknown identifier: ReadEnvWithURL
FAIL	github.com/ilyakaznacheev/cleanenv [build failed]
?   	github.com/ilyakaznacheev/cleanenv/example/custom_setter	[no test files]
?   	github.com/ilyakaznacheev/cleanenv/example/env_config	[no test files]
?   	github.com/ilyakaznacheev/cleanenv/example/parse_multiple_files	[no test files]
?   	github.com/ilyakaznacheev/cleanenv/example/simple_config	[no test files]
FAIL
Exception: go exited with 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions