mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
parent
32471b57bd
commit
d90e37e0c6
442 changed files with 1426 additions and 2254 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue