Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / op / endsWith.t
1 ### Empty
2 {
3         type => "op",
4         name => "endsWith",
5         param => "",
6         input => "",
7         ret => 1,
8 },
9 {
10         type => "op",
11         name => "endsWith",
12         param => "TestCase",
13         input => "",
14         ret => 0,
15 },
16 {
17         type => "op",
18         name => "endsWith",
19         param => "",
20         input => "TestCase",
21         ret => 1,
22 },
23
24 ### General
25 {
26         type => "op",
27         name => "endsWith",
28         param => "abc",
29         input => "abcdefghi",
30         ret => 0,
31 },
32 {
33         type => "op",
34         name => "endsWith",
35         param => "def",
36         input => "abcdefghi",
37         ret => 0,
38 },
39 {
40         type => "op",
41         name => "endsWith",
42         param => "ghi",
43         input => "abcdefghi",
44         ret => 1,
45 },
46 {
47         type => "op",
48         name => "endsWith",
49         param => "ghi",
50         input => "abcdef\0ghi",
51         ret => 1,
52 },