mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 05:52:10 -05:00
markup/asciidocext: Fix broken test
This commit is contained in:
parent
f7c1b5fe1c
commit
4949bdc2ef
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ func TestAsciidoctorDefaultArgs(t *testing.T) {
|
||||||
c.Assert(ac, qt.Not(qt.IsNil))
|
c.Assert(ac, qt.Not(qt.IsNil))
|
||||||
|
|
||||||
args := ac.parseArgs(converter.DocumentContext{})
|
args := ac.parseArgs(converter.DocumentContext{})
|
||||||
expected := []string{"--no-header-footer", "--trace"}
|
expected := []string{"--no-header-footer"}
|
||||||
c.Assert(args, qt.DeepEquals, expected)
|
c.Assert(args, qt.DeepEquals, expected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ func TestAsciidoctorDisallowedArgs(t *testing.T) {
|
||||||
c.Assert(ac, qt.Not(qt.IsNil))
|
c.Assert(ac, qt.Not(qt.IsNil))
|
||||||
|
|
||||||
args := ac.parseArgs(converter.DocumentContext{})
|
args := ac.parseArgs(converter.DocumentContext{})
|
||||||
expected := []string{"--no-header-footer", "--trace"}
|
expected := []string{"--no-header-footer"}
|
||||||
c.Assert(args, qt.DeepEquals, expected)
|
c.Assert(args, qt.DeepEquals, expected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue