diff --git a/src/stats_tests/fisher.rs b/src/stats_tests/fisher.rs index a18c821d..16f2608a 100644 --- a/src/stats_tests/fisher.rs +++ b/src/stats_tests/fisher.rs @@ -348,7 +348,7 @@ mod tests { #[test] fn test_fishers_exact_for_trivial() { - let cases = [[0, 0, 1, 2], [1, 2, 0, 0], [1, 0, 2, 0], [0, 1, 0, 2]]; + let cases = vec![[0, 0, 1, 2], [1, 2, 0, 0], [1, 0, 2, 0], [0, 1, 0, 2]]; for table in cases.iter() { assert_eq!(fishers_exact(table, Alternative::Less).unwrap(), 1.0)