From f3fa1b542ff640dae45d733983d534668a198144 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Tue, 16 Jan 2024 14:02:01 +0100 Subject: [PATCH] Add Random as test dependency The TestExt extension is loaded when Random and Test are loaded, and is used in TS's tests. However, we forgot to load Random in the test suite. This accidentally worked before, because Random was in the sysimage, but this will not continue to be the case in the future. See the comments in PR 152 --- Project.toml | 5 +++-- test/runtests.jl | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index e329a3ea..4f67673a 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "TranscodingStreams" uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" license = "MIT" authors = ["Kenta Sato "] -version = "0.10.2" +version = "0.10.3" [deps] Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" @@ -22,6 +22,7 @@ julia = "1.6" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [targets] -test = ["Test"] +test = ["Test", "Random"] diff --git a/test/runtests.jl b/test/runtests.jl index 77e2d887..72b74210 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,5 @@ using TranscodingStreams +using Random using Test if VERSION ≥ v"1.1"