Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: mowyw-0.6.1
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (15 sloc) 0.462 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use Test::More tests => 3;
use strict;
use warnings;

BEGIN { use_ok('Mowyw', 'parse_str'); };

$Mowyw::Quiet = 1;

{
    # Test without Vim::TextColor first
    local @INC = ();
    my $ps = parse_str('[% syntax foobar %]<argl>[% endsyntax %]', {});

    ok $ps !~ m/<argl>/, 'Syntax hilighting at least escapes';
}

{
    my $ps = parse_str('[% syntax foobar %]<argl>[% endsyntax %]', {});

    ok $ps !~ m/<argl>/, 'Syntax hilighting at least escapes';
}
Something went wrong with that request. Please try again.