Skip to content

Commit

Permalink
Update test_core.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 authored Sep 1, 2024
1 parent 6d33c22 commit bcc27f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ end

#https://github.com/JuliaLang/julia/issues/54664: the return type of @doc f changes depending on REPL being loaded.
__string(s) = string(s)
__string(s::Base.Docs.DocStr) = join(collect(x.text),'\n')
__string(s::Base.Docs.DocStr) = join(collect(s.text),'\n')

@testset "@accessor" begin
s = MyStruct((a=123,))
Expand Down

0 comments on commit bcc27f4

Please sign in to comment.