From 3b326f04ac340ae562f89326675bbfeab092fa0e Mon Sep 17 00:00:00 2001 From: Josh Day Date: Thu, 26 Jan 2023 10:16:21 -0500 Subject: [PATCH] add test --- test/runtests.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 0809915..55166af 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -34,6 +34,8 @@ n2 = h("div", "hi") @test_throws BoundsError n[2] n[1] = "new" @test n[1] == "new" + + @test_throws ErrorException display(h.div(nothing)) end #-----------------------------------------------------------------------------# HTML @testset "HTML" begin