diff options
Diffstat (limited to 'formats/config/encoder_test.go')
-rw-r--r-- | formats/config/encoder_test.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/formats/config/encoder_test.go b/formats/config/encoder_test.go deleted file mode 100644 index 5335b83..0000000 --- a/formats/config/encoder_test.go +++ /dev/null @@ -1,21 +0,0 @@ -package config - -import ( - "bytes" - - . "gopkg.in/check.v1" -) - -type EncoderSuite struct{} - -var _ = Suite(&EncoderSuite{}) - -func (s *EncoderSuite) TestEncode(c *C) { - for idx, fixture := range fixtures { - buf := &bytes.Buffer{} - e := NewEncoder(buf) - err := e.Encode(fixture.Config) - c.Assert(err, IsNil, Commentf("encoder error for fixture: %d", idx)) - c.Assert(buf.String(), Equals, fixture.Text, Commentf("bad result for fixture: %d", idx)) - } -} |