@@ -31,7 +31,7 @@ var testCases = []struct {
3131 },
3232 {
3333 name : "custom_child_folder" ,
34- mailbox : "MyFolder. Child" ,
34+ mailbox : "MyFolder/ Child" ,
3535 setRightsModification : imap .RightModificationReplace ,
3636 setRights : imap .RightSet ("aelrwtd" ),
3737 expectedRights : imap .RightSet ("aelrwtd" ),
@@ -52,7 +52,7 @@ var testCases = []struct {
5252 },
5353 {
5454 name : "empty_rights" ,
55- mailbox : "MyFolder. Child" ,
55+ mailbox : "MyFolder/ Child" ,
5656 setRightsModification : imap .RightModificationReplace ,
5757 setRights : imap .RightSet ("a" ),
5858 expectedRights : imap .RightSet ("a" ),
@@ -82,13 +82,13 @@ func TestACL(t *testing.T) {
8282 // execute SETACL command
8383 err := client .SetACL (tc .mailbox , testUsername , tc .setRightsModification , tc .setRights ).Wait ()
8484 if err != nil {
85- t .Errorf ("SetACL().Wait() error: %v" , err )
85+ t .Fatalf ("SetACL().Wait() error: %v" , err )
8686 }
8787
8888 // execute GETACL command to reset cache on server
8989 getACLData , err := client .GetACL (tc .mailbox ).Wait ()
9090 if err != nil {
91- t .Errorf ("GetACL().Wait() error: %v" , err )
91+ t .Fatalf ("GetACL().Wait() error: %v" , err )
9292 }
9393
9494 if ! tc .expectedRights .Equal (getACLData .Rights [testUsername ]) {
0 commit comments