mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -61,5 +61,4 @@ func TestConfigLegacy(t *testing.T) {
|
||||
conf, err := decodeConfig(v)
|
||||
c.Assert(err, qt.IsNil)
|
||||
c.Assert(conf.MinifyOutput, qt.Equals, true)
|
||||
|
||||
}
|
||||
|
@@ -72,7 +72,6 @@ func TestNew(t *testing.T) {
|
||||
c.Assert(m.Minify(test.tp, &b, strings.NewReader(test.rawString)), qt.IsNil)
|
||||
c.Assert(b.String(), qt.Equals, test.expectedMinString)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestConfigureMinify(t *testing.T) {
|
||||
@@ -145,7 +144,6 @@ func TestJSONRoundTrip(t *testing.T) {
|
||||
c.Assert(json.Unmarshal(b.Bytes(), &m2), qt.IsNil)
|
||||
c.Assert(m1, qt.DeepEquals, m2)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestBugs(t *testing.T) {
|
||||
@@ -166,5 +164,4 @@ func TestBugs(t *testing.T) {
|
||||
c.Assert(m.Minify(test.tp, &b, strings.NewReader(test.rawString)), qt.IsNil)
|
||||
c.Assert(b.String(), qt.Equals, test.expectedMinString)
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user