From 8f3ce49f40c6dfbdfb66048a5004200d66cff516 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Tue, 26 Mar 2024 14:52:43 +0100 Subject: [PATCH] fix test on `1.6` --- test/14_test_highlight.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/14_test_highlight.jl b/test/14_test_highlight.jl index e0de4b35c..331f1f966 100644 --- a/test/14_test_highlight.jl +++ b/test/14_test_highlight.jl @@ -31,7 +31,7 @@ import Term.Style: apply_style @test highlight(:(x + y);) == "\e[38;2;255;202;40mx + y\e[39m" end -@testset "HIGHLIGHT syntax basic" begin +VERSION ≥ v"1.7" && @testset "HIGHLIGHT syntax basic" begin @test highlight_syntax(""" This is ::Int64 my style print(x + 2)