Skip to content

Commit

Permalink
TEST: update format tests for layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Apr 23, 2020
1 parent a3d53d2 commit 47b3654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/format.rs
Expand Up @@ -62,13 +62,13 @@ fn debug_format() {
"\
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]], shape=[3, 4], strides=[4, 1], layout=C (0x1), const ndim=2"
[0, 0, 0, 0]], shape=[3, 4], strides=[4, 1], layout=Cc (0x5), const ndim=2"
);
assert_eq!(
format!("{:?}", a.into_dyn()),
"\
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]], shape=[3, 4], strides=[4, 1], layout=C (0x1), dynamic ndim=2"
[0, 0, 0, 0]], shape=[3, 4], strides=[4, 1], layout=Cc (0x5), dynamic ndim=2"
);
}

0 comments on commit 47b3654

Please sign in to comment.