diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-02-16 12:45:14 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-02-16 12:45:14 +0100 |
commit | bbd8165f462b440a12e3bd067c862ea22bb37fa2 (patch) | |
tree | 6b1e5ccb88ae71f0b67ba4987b02c523a5be1c25 /t | |
parent | 2cd67e3fe1485908c1986fb64580906f98789da8 (diff) | |
download | mblaze-bbd8165f462b440a12e3bd067c862ea22bb37fa2.tar.gz mblaze-bbd8165f462b440a12e3bd067c862ea22bb37fa2.tar.xz mblaze-bbd8165f462b440a12e3bd067c862ea22bb37fa2.zip |
1501-maddr-regress.t: space in local part
Diffstat (limited to 't')
-rwxr-xr-x | t/1501-maddr-regress.t | 5 |
1 files changed, 3 insertions, 2 deletions
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 <foo@[::1]>' # invalid addresses check_addr '<Foo Bar <foobar@qux.com>' 'foobar@qux.com' -check_addr '"abc@def"@ghi' '' \ No newline at end of file +check_addr '"abc@def"@ghi' '' +check_addr '"foo@" <bar.com foo@bar.com>' '"foo@" <bar.comfoo@bar.com>' |