about summary refs log tree commit homepage
path: root/t/hl_mod.t
diff options
context:
space:
mode:
Diffstat (limited to 't/hl_mod.t')
-rw-r--r--t/hl_mod.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/hl_mod.t b/t/hl_mod.t
index b8b8eb9d..62cc6248 100644
--- a/t/hl_mod.t
+++ b/t/hl_mod.t
@@ -20,6 +20,7 @@ my $orig = $str;
         my $ref = $hls->do_hl(\$str, 'foo.perl');
         is(ref($ref), 'SCALAR', 'got a scalar reference back');
         like($$ref, qr/I can see you!/, 'we can see ourselves in output');
+        like($$ref, qr/&&/, 'escaped');
 
         use PublicInbox::Spawn qw(which);
         if (eval { require IPC::Run } && which('w3m')) {