From aa40098075ab6aee3d0c12013557760988b6db19 Mon Sep 17 00:00:00 2001 From: Tommy Palmer Date: Mon, 22 Feb 2021 12:35:37 +0000 Subject: [PATCH] add missing import for example The `Expressive assertion` example also required `assert_structs_equal` to be imported to work, as it's mentioned on line 141. This commit adds it in, just so it's not missed. Thanks for the great package! It's already saved me lots of work. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc17f59..feeebf5 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ But, with `assertions`, you can write that test like this: ```elixir defmodule UsersTest do use ExUnit.Case, async: true - import Assertions, only: [assert_lists_equal: 2] + import Assertions, only: [assert_lists_equal: 2, assert_structs_equal: 3] describe "update_all/2" do test "updates the given users in the database and returns those updated users" do