OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package mail | 5 package mail |
6 | 6 |
7 import ( | 7 import ( |
8 net_mail "net/mail" | 8 net_mail "net/mail" |
9 "testing" | 9 "testing" |
10 | 10 |
11 . "github.com/smartystreets/goconvey/convey" | 11 . "github.com/smartystreets/goconvey/convey" |
12 ) | 12 ) |
13 | 13 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 So(m2.Bcc, ShouldResemble, m.Bcc) | 78 So(m2.Bcc, ShouldResemble, m.Bcc) |
79 So(m2.Subject, ShouldResemble, m.Subject) | 79 So(m2.Subject, ShouldResemble, m.Subject) |
80 So(m2.Body, ShouldResemble, m.Body) | 80 So(m2.Body, ShouldResemble, m.Body) |
81 So(m2.HTMLBody, ShouldResemble, m.HTMLBody) | 81 So(m2.HTMLBody, ShouldResemble, m.HTMLBody) |
82 So(m2.Headers, ShouldResemble, m.Headers) | 82 So(m2.Headers, ShouldResemble, m.Headers) |
83 | 83 |
84 So((Attachment)(m2.Attachments[0]), ShouldResemble, m.At
tachments[0]) | 84 So((Attachment)(m2.Attachments[0]), ShouldResemble, m.At
tachments[0]) |
85 }) | 85 }) |
86 }) | 86 }) |
87 } | 87 } |
OLD | NEW |