From da16dbb045845ec70083d0d08517774851fd7fa1 Mon Sep 17 00:00:00 2001 From: pracplay open code Date: Wed, 9 Jul 2025 23:17:11 -0500 Subject: [PATCH] fix for two tests failing on non-windows this doesn't affect compilation but since the case of the filename doesn't match the case of the file on disk, these two tests were failing. now all 127 tests pass as intended regardless of windows or not (tested on ubuntu) --- FsChessPgn.Test/RealFileTests.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FsChessPgn.Test/RealFileTests.fs b/FsChessPgn.Test/RealFileTests.fs index 8cd44c4..34450a0 100644 --- a/FsChessPgn.Test/RealFileTests.fs +++ b/FsChessPgn.Test/RealFileTests.fs @@ -22,13 +22,13 @@ type RealFileTests () = [] member this.Lon09R5() = - let db = Games.ReadFromFile(TestSet+"Lon09R5.pgn") + let db = Games.ReadFromFile(TestSet+"lon09r5.pgn") Assert.AreEqual(db|>Seq.length,4) [] member this.Tilb98R2() = - let db = Games.ReadFromFile(TestSet+"Tilb98R2.pgn") + let db = Games.ReadFromFile(TestSet+"tilb98r2.pgn") Assert.AreEqual(db|>Seq.length,6)