Skip to content

Commit 4634a86

Browse files
committed
Correct argument name in sherlodoc test
Older versions of cmdliner silently accepted this as what was there was a prefix of the correct argument name. Newer versions of cmdliner are more strict.
1 parent f0e00ca commit 4634a86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sherlodoc/test/cram/link_in_docstring.t/run.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
$ export SHERLODOC_DB=db.bin
55
$ export SHERLODOC_FORMAT=marshal
66
$ sherlodoc index $(find . -name '*.odocl')
7-
$ sherlodoc search --print-docstring "foo"
7+
$ sherlodoc search --print-docstring-html "foo"
88
val A.foo : int
99
<div><p>This is a docstring with a <span>link</span></p></div>
10-
$ sherlodoc search --print-docstring "bar"
10+
$ sherlodoc search --print-docstring-html "bar"
1111
val A.bar : int
1212
<div><p>This is a docstring with a ref to <span><code>foo</code></span></p></div>

0 commit comments

Comments
 (0)