From 3370fd5f705987aa92e613ee914d613ffa247e2c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 3 Apr 2020 22:10:58 +0200 Subject: blaze822: blaze822_addr: don't force add space before quoted words --- t/1501-maddr-regress.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/1501-maddr-regress.t b/t/1501-maddr-regress.t index 3f638b5..37b592a 100755 --- a/t/1501-maddr-regress.t +++ b/t/1501-maddr-regress.t @@ -1,7 +1,7 @@ #!/bin/sh cd ${0%/*} . ./lib.sh -plan 27 +plan 31 check_addr() { printf "From: %s\n" "$1" | check_test "parse $1" = "$2" "maddr /dev/stdin" @@ -41,3 +41,8 @@ check_addr 'foo@[::1] (ipv6)' 'ipv6 ' check_addr '' 'foobar@qux.com' check_addr '"abc@def"@ghi' '' check_addr '"foo@" ' '"foo@" ' + +check_addr 'test."test"@example.org' 'test.test@example.org' +check_addr '' 'test.test@example.org' +check_addr 'test"test"@example.org' 'testtest@example.org' +check_addr '' 'testtest@example.org' -- cgit 1.4.1