From 61ecc54b850fa6a3629d1d822ecc57b69e3d6cca Mon Sep 17 00:00:00 2001 From: Neven Sajko Date: Fri, 5 Sep 2025 12:38:09 +0200 Subject: [PATCH] test: simplify a test --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index d312e4d..2af1148 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -34,7 +34,7 @@ using Aqua: Aqua @testset "`CallableWithTypeSignature`" begin @testset "subtyping" begin @test CallableWithTypeSignature <: CallableWithReturnType - @test CallableWithTypeSignature{Float32} <: ComposedFunction{Base.Fix2{typeof(typeassert), Type{Float32}}} + @test CallableWithTypeSignature{Float32} <: CallableWithReturnType{Float32} @test_throws TypeError CallableWithTypeSignature{<:Any, Int} end @testset "construction" begin