Update canonical order of fields in stanza to match what apt tools generate. #172

This commit is contained in:
Andrey Smirnov
2015-01-19 21:17:58 +03:00
parent fd502264a9
commit 876eeedb14
8 changed files with 86 additions and 14 deletions

View File

@@ -108,7 +108,7 @@ func (s *ControlFileSuite) TestReadWriteStanza(c *C) {
buf := &bytes.Buffer{}
w := bufio.NewWriter(buf)
err = stanza.Copy().WriteTo(w)
err = stanza.Copy().WriteTo(w, false, false)
c.Assert(err, IsNil)
err = w.Flush()
c.Assert(err, IsNil)