From 90658603902e7588c650ceb5ac0b26e31aa543af Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 1 Aug 2026 12:47:08 +0200 Subject: [PATCH] Fix checking for tests on Windows --- src/dev/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/check.rs b/src/dev/check.rs index 16d04563..042b2b50 100644 --- a/src/dev/check.rs +++ b/src/dev/check.rs @@ -118,7 +118,7 @@ fn check_info_file_exercises(info_file: &InfoFile) -> Result> { ); } - let contains_tests = file_buf.contains("#[test]\n"); + let contains_tests = file_buf.contains("#[test]"); if exercise_info.test { if !contains_tests { bail!(