MCPcopy Create free account
hub / github.com/aptly-dev/aptly / TestString

Method TestString

deb/package_test.go:164–167  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

162}
163
164func (s *PackageSuite) TestString(c *C) {
165 p := NewPackageFromControlFile(s.stanza)
166 c.Assert(p.String(), Equals, "alien-arena-common_7.40-2_i386")
167}
168
169func (s *PackageSuite) TestGetField(c *C) {
170 p := NewPackageFromControlFile(s.stanza.Copy())

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65

Tested by

no test coverage detected