From f8373c55de9237e6207d177b2d017f05e80254f3 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Sun, 1 Sep 2024 00:57:06 +0200 Subject: [PATCH] fix csv line numbers in test assertions --- tests/horde_insufficient_material.rs | 2 +- tests/zobrist.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/horde_insufficient_material.rs b/tests/horde_insufficient_material.rs index 2bea09d..f9012d6 100644 --- a/tests/horde_insufficient_material.rs +++ b/tests/horde_insufficient_material.rs @@ -31,7 +31,7 @@ fn white_insufficient_material_in_horde() { "{} with comment {:?} in line {}", record.fen, record.comment, - i + 1 + i + 2 ); } } diff --git a/tests/zobrist.rs b/tests/zobrist.rs index 324c0b3..31d3b3a 100644 --- a/tests/zobrist.rs +++ b/tests/zobrist.rs @@ -39,7 +39,7 @@ fn test_zobrist_reference() { pos.zobrist_hash::(EnPassantMode::Legal), record.zobrist, "line {}", - i + 1 + i + 2 ) } }