We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a7069 commit 8e9ecc2Copy full SHA for 8e9ecc2
src/api/src/utils.jl
@@ -31,6 +31,6 @@ function get_pkg_version(m::Module)
31
if haskey(project_toml, "version")
32
VersionNumber(project_toml["version"])
33
else
34
- VERSION # stdlibs do not have version field
+ VERSION
35
end
36
src/api/test/utils.jl
@@ -1,5 +1,6 @@
1
@testset "utils" begin
2
- @test get_pkg_version(Logging) == VERSION
+ # https://github.com/oolong-dev/OpenTelemetry.jl/issues/107
3
+ @test get_pkg_version(Logging) >= VERSION
4
withenv("OTEL_LOG_LEVEL" => "error") do
5
@test OTEL_LOG_LEVEL() == Logging.Error
6
0 commit comments