Skip to content

Commit

Permalink
fix for fieldnames now returning a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Feb 16, 2018
1 parent 1378a9f commit 31044e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/docsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ PACKAGES_LOADED_MAIN = VERSION < v"0.7.0-DEV.1877"

## `MultiDoc` object.
@test isdefined(DocSystem, :MultiDoc)
@test fieldnames(DocSystem.MultiDoc) == [:order, :docs]
@test (fieldnames(DocSystem.MultiDoc)...,) == (:order, :docs)

## `DocStr` object.
@test isdefined(DocSystem, :DocStr)
@test fieldnames(DocSystem.DocStr) == [:text, :object, :data]
@test (fieldnames(DocSystem.DocStr)...,) == (:text, :object, :data)
## `getdocs`.
let b = DocSystem.binding(DocSystem, :getdocs),
d_0 = DocSystem.getdocs(b, Tuple{}),
Expand Down

0 comments on commit 31044e5

Please sign in to comment.