Skip to content

Commit fba267f

Browse files
committed
fixup
1 parent c6c821f commit fba267f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dub.sdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildType "unittest" {
1313
buildOptions "unittests" "debugMode" "debugInfo"
1414
versions "mir_bignum_test" "mir_bignum_test_llv"
1515
// versions "mir_ndslice_test"
16-
// versions "mir_test"
16+
versions "mir_test"
1717
dflags "-lowmem"
1818
}
1919
buildType "unittest-dip1008" {

source/mir/format.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,10 +715,11 @@ ref W printHexArray(C = char, W, T)(scope return ref W w,
715715
@safe pure nothrow @nogc
716716
version (mir_test) unittest
717717
{
718+
import mir.test;
718719
import mir.appender: scopedBuffer;
719720
auto w = scopedBuffer!char;
720721
ubyte[2] array = [0x34, 0x32];
721-
assert(w.print(array[]).data == `34 32`);
722+
w.printHexArray(array[]).data.should == `34 32`;
722723
}
723724

724725
/// Prints escaped character in the form `'c'`.

0 commit comments

Comments
 (0)