From f418795f9395bfa8d7a0f543755e89eaa250e0bb Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Fri, 13 Nov 2020 12:23:14 +0000 Subject: [PATCH] regex keys displayed are strings (since that is how we get them from PCRE) --- test/regex.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/regex.jl b/test/regex.jl index 216c8294bc170..94a10c100bf94 100644 --- a/test/regex.jl +++ b/test/regex.jl @@ -81,7 +81,7 @@ @test !haskey(m, "foo") @test (m[:a], m[2], m["b"]) == ("x", "y", "z") @test sprint(show, m) == "RegexMatch(\"xyz\", a=\"x\", 2=\"y\", b=\"z\")" - @test keys(m) == [:a, 2, :b] + @test keys(m) == ["a", 2, "b"] end # Backcapture reference in substitution string