From 83be64a101cf093900e250b858f6f4b601dba9a9 Mon Sep 17 00:00:00 2001 From: graur Date: Fri, 8 Jul 2022 23:56:12 +0300 Subject: [PATCH 1/2] #72 - version up to 0.23.17 --- pom.xml | 2 +- .../eo/org/eolang/hamcrest/assert-that.eo | 25 +++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 0f5e30d..aeee17f 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ SOFTWARE. jar eo-hamcrest - 0.23.15 + 0.23.17 UTF-8 UTF-8 diff --git a/src/main/eo/org/eolang/hamcrest/assert-that.eo b/src/main/eo/org/eolang/hamcrest/assert-that.eo index 3733462..d2d5676 100644 --- a/src/main/eo/org/eolang/hamcrest/assert-that.eo +++ b/src/main/eo/org/eolang/hamcrest/assert-that.eo @@ -25,6 +25,7 @@ +version 0.0.0 +alias sprintf org.eolang.txt.sprintf +alias number org.eolang.math.number ++alias org.eolang.collections.list +rt jvm org.eolang:eo-hamcrest:0.0.0 # Main object for assertions @@ -114,7 +115,8 @@ [] > description-of " and ".joined > @ map. - matchers + list + matchers [i] i.description-of > @ @@ -146,7 +148,8 @@ [] > description-of " or ".joined > @ map. - matchers + list + matchers [i] i.description-of > @ @@ -272,7 +275,9 @@ FALSE seq > @ mismatches.write * - actual.reducei + reducei. + list + actual FALSE [acc i x] or. > @ @@ -321,7 +326,9 @@ [a] > match seq > @ mismatches.write * - actual.reducei + reducei. + list + actual FALSE [acc i el] or. > @ @@ -336,7 +343,8 @@ [] > description-of " and ".joined > @ map. - matchers + list + matchers [i] i.description-of > @ @@ -356,7 +364,9 @@ check-length seq mismatches.write * - a.reducei + reducei. + list + a TRUE [acc i el] and. > @ @@ -380,6 +390,7 @@ [] > description-of " and ".joined > @ map. - matchers + list + matchers [i] i.description-of > @ From be2685f7fe53d20205d1e2e2058a7c89ae683c6e Mon Sep 17 00:00:00 2001 From: graur Date: Sat, 9 Jul 2022 11:29:58 +0300 Subject: [PATCH 2/2] #74 - array.is-empty fixed --- src/main/eo/org/eolang/hamcrest/assert-that.eo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/eo/org/eolang/hamcrest/assert-that.eo b/src/main/eo/org/eolang/hamcrest/assert-that.eo index d2d5676..41cd763 100644 --- a/src/main/eo/org/eolang/hamcrest/assert-that.eo +++ b/src/main/eo/org/eolang/hamcrest/assert-that.eo @@ -37,7 +37,9 @@ sprintf "%s\nExpected: %s\n but: %s" if. - reasons.is-empty + is-empty. + list + reasons "" reasons.at 0 description-of.