Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Nov 15, 2023
1 parent e5816e4 commit 30b25a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/newsletter/test/newsletter_test.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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]"])
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 30b25a6

Please sign in to comment.