From 49b0c5687c33e2661cfca81d25bb3b0c7ddd8f6c Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Tue, 27 Jul 2021 13:53:23 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 162d203..b74dcf9 100644 --- a/README.md +++ b/README.md @@ -110,8 +110,8 @@ the mock is now invalid — it no longer implements the given behaviour, and therefore breaks the contract. Even though Mox is supposed to create mocks following explicit contracts, it does not take typespecs into account. -This is where Hammox comes in. Simply swap Mox with Hammox and you will now -get this when trying to run the test: +This is where Hammox comes in. Simply swap `import Mox` with `import Hammox` +and you will now get this when trying to run the test: ```none ** (Hammox.TypeMatchError) From a7467dd949316a0015c5da20ade97e935c71861e Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Wed, 28 Jul 2021 14:37:52 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b74dcf9..d4686d4 100644 --- a/README.md +++ b/README.md @@ -110,8 +110,9 @@ the mock is now invalid — it no longer implements the given behaviour, and therefore breaks the contract. Even though Mox is supposed to create mocks following explicit contracts, it does not take typespecs into account. -This is where Hammox comes in. Simply swap `import Mox` with `import Hammox` -and you will now get this when trying to run the test: +This is where Hammox comes in. Simply replace all occurrences of Mox with +Hammox (for example, `import Mox` becomes `import Hammox`, etc) and you +will now get this when trying to run the test: ```none ** (Hammox.TypeMatchError)