get rid of hacky newDoc2()

This commit is contained in:
Ross Kinder
2015-12-23 15:09:37 -05:00
parent 67af552ad1
commit 6113cc3d6f
5 changed files with 7 additions and 29 deletions

View File

@@ -88,7 +88,7 @@ func (testSuite *EncryptTest) TestEncrypt(c *C) {
actualPlaintext, err := Decrypt(testSuite.Key, encryptedString)
c.Assert(err, IsNil)
plaintextDoc, _ := newDoc(testSuite.Plaintext)
plaintextDoc, _ := newDoc(testSuite.Plaintext, nil)
expectedPlaintext := dumpDoc(plaintextDoc)
// Big blobs of XML are hard to debug. They are easier to handle when