Skip to content

Commit

Permalink
improve unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Nov 11, 2018
1 parent 19e1387 commit c804962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mir/ndslice/topology.d
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ version(mir_test) unittest
auto slice = iota(2, 3).universal.assumeContiguous;
assert(slice == [[0, 1, 2], [3, 4, 5]]);
assert(slice._lengths == [2, 3]);
assert(slice._strides == []);
static assert(slice._strides.length == 0);
}

/++
Expand Down

0 comments on commit c804962

Please sign in to comment.