We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eeb012 commit c74139dCopy full SHA for c74139d
source/fluentasserts/operations/memory/nonGcMemory.d
@@ -92,8 +92,8 @@ version (linux) {
92
(() @trusted => free(leaked))();
93
94
expect(evaluation.result.expected[]).to.equal(`not to allocate non-GC memory`);
95
- expect(evaluation.result.actual[]).to.startWith("allocated ");
96
- expect(evaluation.result.actual[]).to.contain("MB");
+ expect(evaluation.result.actual[].idup).to.startWith("allocated ");
+ expect(evaluation.result.actual[].idup).to.contain("MB");
97
}
98
99
0 commit comments