mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +00:00
Test dependency architecture without version.
As asked by Andrey in #868.
This commit is contained in:
committed by
Andrey Smirnov
parent
a656241d5e
commit
bde6e6bda4
@@ -232,4 +232,8 @@ func (s *VersionSuite) TestDependencyString(c *C) {
|
||||
d, _ = ParseDependency("dpkg")
|
||||
d.Architecture = "i386"
|
||||
c.Check(d.String(), Equals, "dpkg [i386]")
|
||||
|
||||
d, _ = ParseDependency("dpkg:any")
|
||||
c.Check(d.Pkg, Equals, "dpkg")
|
||||
c.Check(d.Architecture, Equals, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user