Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.534 kb
ca97108 [mowyw]
moritz authored
1 use Test::More tests => 3;
2 use strict;
3 use warnings;
4
c16fb9f Moritz Lenz Renamed Mowyw to App::Mowyw
authored
5 BEGIN { use_ok('App::Mowyw', 'parse_str'); };
ca97108 [mowyw]
moritz authored
6
594f5fc Moritz Lenz properly silence warnings
authored
7 no warnings 'once';
c16fb9f Moritz Lenz Renamed Mowyw to App::Mowyw
authored
8 $App::Mowyw::Quiet = 1;
ca97108 [mowyw]
moritz authored
9
10 {
11 # Test without Vim::TextColor first
12 local @INC = ();
594f5fc Moritz Lenz properly silence warnings
authored
13 local $App::Mowyw::config{quiet} = 1;
ca97108 [mowyw]
moritz authored
14 my $ps = parse_str('[% syntax foobar %]<argl>[% endsyntax %]', {});
15
16 ok $ps !~ m/<argl>/, 'Syntax hilighting at least escapes';
17 }
18
19 {
20 my $ps = parse_str('[% syntax foobar %]<argl>[% endsyntax %]', {});
21
22 ok $ps !~ m/<argl>/, 'Syntax hilighting at least escapes';
23 }
Something went wrong with that request. Please try again.