mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
markup/asciidocext: Fix broken test
This commit is contained in:
1 file changed
+2
-2
@@ -50,7 +50,7 @@ func TestAsciidoctorDefaultArgs(t *testing.T) {
|
||||
c.Assert(ac, qt.Not(qt.IsNil))
|
||||
|
||||
args := ac.parseArgs(converter.DocumentContext{})
|
||||
expected := []string{"--no-header-footer", "--trace"}
|
||||
expected := []string{"--no-header-footer"}
|
||||
c.Assert(args, qt.DeepEquals, expected)
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ func TestAsciidoctorDisallowedArgs(t *testing.T) {
|
||||
c.Assert(ac, qt.Not(qt.IsNil))
|
||||
|
||||
args := ac.parseArgs(converter.DocumentContext{})
|
||||
expected := []string{"--no-header-footer", "--trace"}
|
||||
expected := []string{"--no-header-footer"}
|
||||
c.Assert(args, qt.DeepEquals, expected)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user