Skip to content

Commit

Permalink
Merge pull request #22 from williamthome/fix/wrong-doc-line
Browse files Browse the repository at this point in the history
Fix wrong -doc test line
  • Loading branch information
williamthome authored May 23, 2024
2 parents 82df484 + 13bb5a0 commit 547f623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doctest_parse_transform.erl
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ tests(Forms, DocAttrs) ->
moduledoc ->
[doctest_eunit:moduledoc_tests(Mod, MarkdownLn, CodeBlocks)
| Acc];
{doc, {function, {F, A, Ln}}} ->
[doctest_eunit:doc_tests({Mod, F, A}, Ln, CodeBlocks)
{doc, {function, {F, A, _Ln}}} ->
[doctest_eunit:doc_tests({Mod, F, A}, MarkdownLn, CodeBlocks)
| Acc]
end;
none ->
Expand Down

0 comments on commit 547f623

Please sign in to comment.