1
require "comparator-i;ascii-numeric";
4
* Compile errors for the header test
6
* Total errors: 9 (+1 validation failed msg = 10)
9
# Unknown tagged argument
10
if header :all :comparator "i;ascii-casemap" "From" "nico" {
14
# Wrong first argument
15
if header :is :comparator "i;ascii-numeric" 45 "nico" {
19
# Wrong second argument
20
if header :is :comparator "i;ascii-numeric" "From" 45 {
24
# Wrong second argument
25
if header :is :comparator "i;ascii-numeric" "From" :tag {
29
# Missing second argument
30
if header :is :comparator "i;ascii-numeric" "From" {
35
if header :is :comparator "i;ascii-numeric" {
40
if header :is :comparator "i;ascii-casemap" "frop" ["frop", "frop"] {
45
if header "frop" "frop" true {
49
# Test used as command with block
50
header "frop" "frop" {
54
# Test used as command