diff --git a/Project.toml b/Project.toml index b294fad..bc090b0 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MultiChannelColors" uuid = "d4071afc-4203-49ee-90bc-13ebeb18d604" authors = ["Tim Holy and contributors"] -version = "0.1.2" +version = "0.1.3" [deps] ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" @@ -15,7 +15,7 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" [compat] ColorTypes = "0.11.2" -ColorVectorSpace = "0.9" +ColorVectorSpace = "0.9, 0.10" Colors = "0.12" Compat = "3, 4" FixedPointNumbers = "0.8" diff --git a/test/runtests.jl b/test/runtests.jl index 63807b4..7a6e472 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -87,7 +87,11 @@ using ImageCore @test c2 == c0 f_infer16(i1, i2) = ColorMixture{N0f16}((fluorophore_rgb"EGFP", fluorophore_rgb"tdTomato"), (i1, i2)) - @test_broken @inferred f_infer16(1, 0) + if Base.VERSION < v"1.10.0-DEV" + @test_broken @inferred f_infer16(1, 0) + else + @test @inferred(f_infer16(1, 0)) isa ColorMixture{N0f16} + end # Inferrability from a template ctmpl = ColorMixture(channels)