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 fc87f9f commit 816fcfdCopy full SHA for 816fcfd
test/misc.jl
@@ -41,7 +41,11 @@ end
41
42
# Test that explicitly set version is preserved
43
ps_versioned = PackageSpec(name = "Example", version = v"1.0.0")
44
- @test ps_versioned.version == Pkg.Types.VersionSpec("1.0.0")
+ @test ps_versioned.version == v"1.0.0"
45
+
46
+ # Test that explicitly set versionspec (string format) is preserved
47
+ ps_versioned = PackageSpec(name = "Example", version = "1.0.0")
48
+ @test ps_versioned.version == "1.0.0"
49
end
50
51
end # module
0 commit comments