-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ pub fn read_emails_test() { | |
[email protected] | ||
[email protected] | ||
" | ||
let assert Ok(_) = simplifile.write(emails, "emails.txt") | ||
let assert Ok(_) = simplifile.write("emails.txt", emails) | ||
let assert Ok(emails) = newsletter.read_emails("emails.txt") | ||
emails | ||
|> should.equal(["[email protected]", "[email protected]", "[email protected]"]) | ||
|
@@ -50,7 +50,7 @@ pub fn send_newsletter_test() { | |
[email protected] | ||
[email protected] | ||
" | ||
let assert Ok(Nil) = simplifile.write(emails, "emails.txt") | ||
let assert Ok(Nil) = simplifile.write("emails.txt", emails) | ||
|
||
let send_email = fn(email) { | ||
case email { | ||
|