~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/mail/message_test.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
                                },
218
218
                        },
219
219
                },
 
220
                // Custom example of RFC 2047 "B"-encoded ISO-8859-1 address.
 
221
                {
 
222
                        `=?ISO-8859-1?B?SvZyZw==?= <joerg@example.com>`,
 
223
                        []*Address{
 
224
                                &Address{
 
225
                                        Name:    `Jörg`,
 
226
                                        Address: "joerg@example.com",
 
227
                                },
 
228
                        },
 
229
                },
 
230
                // Custom example of RFC 2047 "B"-encoded UTF-8 address.
 
231
                {
 
232
                        `=?UTF-8?B?SsO2cmc=?= <joerg@example.com>`,
 
233
                        []*Address{
 
234
                                &Address{
 
235
                                        Name:    `Jörg`,
 
236
                                        Address: "joerg@example.com",
 
237
                                },
 
238
                        },
 
239
                },
220
240
        }
221
241
        for _, test := range tests {
222
242
                addrs, err := newAddrParser(test.addrsStr).parseAddressList()