1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 10:07:02 +00:00

mime & util unit tests pass

added a sample of what the config should look like, may need tweaking
once I actually try to parse & use it.
This commit is contained in:
James Hillyerd
2012-10-20 17:30:32 -07:00
parent 3dd0206b48
commit ec0823b452
2 changed files with 45 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ func TestParseInlineHtml(t *testing.T) {
// readMessage is a test utility function to fetch a mail.Message object.
func readMessage(filename string) *mail.Message {
// Open test email for parsing
raw, err := os.Open(filepath.Join("..", "..", "test-data", filename))
raw, err := os.Open(filepath.Join("test-data", filename))
if err != nil {
panic(fmt.Sprintf("Failed to open test data: %v", err))
}