|
69 | 69 | @test (fieldnames(DocSystem.DocStr)...,) == (:text, :object, :data) |
70 | 70 | ## `getdocs`. |
71 | 71 | let b = DocSystem.binding(DocSystem, :getdocs), |
72 | | - d_0 = DocSystem.getdocs(b, Tuple{}), |
73 | | - d_1 = DocSystem.getdocs(b), |
74 | | - d_2 = DocSystem.getdocs(b, Union{Tuple{Any}, Tuple{Any, Type}}; compare = (==)), |
75 | | - d_3 = DocSystem.getdocs(b; modules = Module[Main]), |
76 | | - d_4 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs)), |
77 | | - d_5 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs); aliases = false), |
78 | | - d_6 = DocSystem.getdocs(b, Union{Tuple{Docs.Binding}, Tuple{Docs.Binding, Type}}; compare = (==)), |
79 | | - d_7 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs), Union{Tuple{Docs.Binding}, Tuple{Docs.Binding, Type}}) |
| 72 | + d_0 = DocSystem.getdocs(b, Tuple{}), |
| 73 | + d_1 = DocSystem.getdocs(b), |
| 74 | + d_2 = DocSystem.getdocs(b, Union{Tuple{Any}, Tuple{Any, Type}}; compare = (==)), |
| 75 | + d_3 = DocSystem.getdocs(b; modules = Module[Main]), |
| 76 | + d_4 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs)), |
| 77 | + d_5 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs); aliases = false), |
| 78 | + d_6 = DocSystem.getdocs(b, Union{Tuple{Docs.Binding}, Tuple{Docs.Binding, Type}}; compare = (==)), |
| 79 | + d_7 = DocSystem.getdocs(DocSystem.binding(@__MODULE__, :alias_of_getdocs), Union{Tuple{Docs.Binding}, Tuple{Docs.Binding, Type}}) |
80 | 80 |
|
81 | 81 | @test length(d_0) == 0 |
82 | 82 | @test length(d_1) == 2 |
|
0 commit comments