diff --git a/t/1501-maddr-regress.t b/t/1501-maddr-regress.t index ee1da50..1b726c3 100755 --- a/t/1501-maddr-regress.t +++ b/t/1501-maddr-regress.t @@ -1,7 +1,7 @@ #!/bin/sh cd ${0%/*} . ./lib.sh -plan 26 +plan 27 check_addr() { printf "From: %s\n" "$1" | check_test "parse $1" = "$2" "maddr /dev/stdin" @@ -39,4 +39,5 @@ check_addr 'foo@[::1] (ipv6)' 'ipv6 ' # invalid addresses check_addr '' 'foobar@qux.com' -check_addr '"abc@def"@ghi' '' \ No newline at end of file +check_addr '"abc@def"@ghi' '' +check_addr '"foo@" ' '"foo@" '