Skip to content

Commit 931c7e4

Browse files
committed
feat: Add unittest for lessThan with std.checkedint.Checked
1 parent fe134c0 commit 931c7e4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/fluentasserts/core/memory/heapequable.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ struct HeapEquableValue {
178178
}
179179

180180
/// Extracts a number from wrapper type notation like "Type(123)" or "Type(-45.6)"
181+
/// Issue #101: Supports std.checkedint.Checked and similar wrapper types
181182
private static double extractWrappedNumber(const(char)[] s, out bool success) @nogc nothrow {
182183
success = false;
183184
if (s.length == 0) {

source/fluentasserts/operations/comparison/lessThan.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ unittest {
155155
expect(evaluation.result.hasContent()).to.equal(true);
156156
}
157157

158+
// Issue #101: lessThan works with std.checkedint.Checked
158159
@("lessThan works with std.checkedint.Checked")
159160
unittest {
160161
import std.checkedint : Checked, Abort;

0 commit comments

Comments
 (0)