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 ef7b5d8Copy full SHA for ef7b5d8
test/misc.jl
@@ -41,6 +41,10 @@ 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 == 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 == Pkg.Types.VersionSpec("1.0.0")
49
end
50
0 commit comments