Skip to content

Commit c804962

Browse files
committed
improve unittest
1 parent 19e1387 commit c804962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/ndslice/topology.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ version(mir_test) unittest
319319
auto slice = iota(2, 3).universal.assumeContiguous;
320320
assert(slice == [[0, 1, 2], [3, 4, 5]]);
321321
assert(slice._lengths == [2, 3]);
322-
assert(slice._strides == []);
322+
static assert(slice._strides.length == 0);
323323
}
324324

325325
/++

0 commit comments

Comments
 (0)