From 0ccd96ee92655411868648c48a47e8098cdee018 Mon Sep 17 00:00:00 2001 From: ZacLN Date: Sun, 14 Jun 2020 20:04:50 +0100 Subject: [PATCH] add test for prefixed docs within quote block --- test/parser.jl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/parser.jl b/test/parser.jl index 795e35f2..6c22571d 100644 --- a/test/parser.jl +++ b/test/parser.jl @@ -842,6 +842,14 @@ end""" |> test_expr @test typof(x[4][1]) === CSTParser.OPERATOR end - - + @testset "issue #182" begin + x = CSTParser.parse(""" + quote + \"\"\" + txt + \"\"\" + sym + end""") + @test typof(x[2][1][1]) === CSTParser.GlobalRefDoc + end end