From a6681b7818dfad2bf2a8f0a1faaa9aa6b37e84c2 Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Fri, 30 Oct 2020 19:40:36 +0000 Subject: [PATCH] add a test showing that is screwing up iteration --- test/runtests.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index b93a5f4..2eac98f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -61,3 +61,6 @@ basic_test(ShortString{MyUInt2048}, 254) @test ss15"Short String!!!" === ShortString15("Short String!!!") @test ss7"ShrtStr" === ShortString7("ShrtStr") @test ss3"ss3" === ShortString3("ss3") + +# Iterations +@test collect(ShortString15("x∫yâz")) == [`x`,`∫`,`y`,`â`,`z`]