Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
#106 modified error description
Browse files Browse the repository at this point in the history
  • Loading branch information
includealex committed Sep 15, 2022
1 parent 965ee38 commit 1714f30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/eo/org/eolang/hamcrest/assert-that.eo
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@

[] > describe-mismatch
sprintf > @
"was greater than <%s>"
"<%s> was greater than <%s>"
act
x

[] > description-of
sprintf > @
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$.less-than 0
assert-that > @
suggestion
$.equal-to "\nExpected: <0> greater than value\n but: was greater than <1>"
$.equal-to "\nExpected: <0> greater than value\n but: <1> was greater than <0>"

[] > less-than-float-failed-output
[] > suggestion
Expand All @@ -42,4 +42,4 @@
$.less-than 0.0
assert-that > @
suggestion
$.equal-to "\nExpected: <0.0> greater than value\n but: was greater than <1.0>"
$.equal-to "\nExpected: <0.0> greater than value\n but: <1.0> was greater than <0.0>"

1 comment on commit 1714f30

@0pdd
Copy link

@0pdd 0pdd commented on 1714f30 Sep 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 41-0f42b54c disappeared from src/test/eo/org/eolang/hamcrest/failed-output/less-than-failed-output.eo), that's why I closed #106. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

Please sign in to comment.