File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ defmodule ExUnit.DocTest do
264
264
{ tests , fun_arities } -> { [ test | tests ] , [ test . fun_arity | fun_arities ] }
265
265
end
266
266
267
- case only -- fun_arities do
267
+ case only -- [ :moduledoc | fun_arities ] do
268
268
[ ] ->
269
269
filtered_tests
270
270
Original file line number Diff line number Diff line change @@ -462,7 +462,10 @@ defmodule ExUnit.DocTestTest do
462
462
# doctest ExUnit.DocTest
463
463
464
464
doctest ExUnit.DocTestTest.GoodModule , import: true
465
- doctest ExUnit.DocTestTest.SomewhatGoodModuleWithOnly , only: [ one: 0 ] , import: true
465
+
466
+ doctest ExUnit.DocTestTest.SomewhatGoodModuleWithOnly ,
467
+ only: [ :moduledoc , one: 0 ] ,
468
+ import: true
466
469
467
470
doctest ExUnit.DocTestTest.SomewhatGoodModuleWithExcept ,
468
471
except: [ :moduledoc , two: 0 ] ,
You can’t perform that action at this time.
0 commit comments