From 1b79251d8ab4a42c35fde03ad87a6b5d349e8778 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Fri, 9 Aug 2024 14:41:58 -0400 Subject: [PATCH] fix nightly docstring test failure (#30) workaround Julia nightly issue #55438 in return type of @doc (depends on whether REPL is imported) --- Project.toml | 3 ++- test/runtests.jl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 990c163..793cdb9 100644 --- a/Project.toml +++ b/Project.toml @@ -7,6 +7,7 @@ julia = "1" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" [targets] -test = ["Test"] +test = ["Test", "REPL"] diff --git a/test/runtests.jl b/test/runtests.jl index 29b61a3..1187b34 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,6 @@ using StructIO using Test +import REPL # needed for docstrings on nightly: julia#55438 # First, exercise the `@io` macro a bit, to ensure it can handle different # kinds of type declarations