Skip to content

Commit 55dcbc2

Browse files
committed
fix for fieldnames now returning a tuple
1 parent e56c99c commit 55dcbc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/docsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ PACKAGES_LOADED_MAIN = VERSION < v"0.7.0-DEV.1877"
3838

3939
## `MultiDoc` object.
4040
@test isdefined(DocSystem, :MultiDoc)
41-
@test fieldnames(DocSystem.MultiDoc) == [:order, :docs]
41+
@test (fieldnames(DocSystem.MultiDoc)...,) == (:order, :docs)
4242

4343
## `DocStr` object.
4444
@test isdefined(DocSystem, :DocStr)
45-
@test fieldnames(DocSystem.DocStr) == [:text, :object, :data]
45+
@test (fieldnames(DocSystem.DocStr)...,) == (:text, :object, :data)
4646
## `getdocs`.
4747
let b = DocSystem.binding(DocSystem, :getdocs),
4848
d_0 = DocSystem.getdocs(b, Tuple{}),

0 commit comments

Comments
 (0)