From 74db9dfe1247be803f1e76438c0776c42485cb0f Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Wed, 26 Jan 2022 21:47:55 -0800 Subject: [PATCH] Fixed path seperator char for loading input text --- AOC2021.Test/AOCTester.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AOC2021.Test/AOCTester.cs b/AOC2021.Test/AOCTester.cs index 1cfb458..cae7272 100644 --- a/AOC2021.Test/AOCTester.cs +++ b/AOC2021.Test/AOCTester.cs @@ -56,7 +56,7 @@ namespace AOC2021.Test private string GetTextInput(string day, string type) { - var constructedFileName = $"Input\\{day}_{type}.txt"; + var constructedFileName = $"Input{Path.DirectorySeparatorChar}{day}_{type}.txt"; Console.WriteLine("ConstructedFileName: " + constructedFileName); Console.WriteLine("Input File Size: " + Directory.GetFiles("Input").Length); foreach (var file in Directory.GetFiles("Input"))