From 8e78ca4d3ca963f6f8f0629ffdeef7efcf30c736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Sat, 3 Sep 2011 13:31:35 +0200 Subject: [PATCH] Use path combine. --- ICSharpCode.NRefactory.Tests/CSharp/Parser/ParseSelfTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.NRefactory.Tests/CSharp/Parser/ParseSelfTests.cs b/ICSharpCode.NRefactory.Tests/CSharp/Parser/ParseSelfTests.cs index db90cfcb11..5cf5f61c01 100644 --- a/ICSharpCode.NRefactory.Tests/CSharp/Parser/ParseSelfTests.cs +++ b/ICSharpCode.NRefactory.Tests/CSharp/Parser/ParseSelfTests.cs @@ -37,7 +37,7 @@ namespace ICSharpCode.NRefactory.CSharp.Parser [TestFixtureSetUp] public void SetUp() { - string path = Path.GetFullPath (@".." + Path.DirectorySeparatorChar + ".." + Path.DirectorySeparatorChar + ".."); + string path = Path.GetFullPath (Path.Combine ("..", "..", "..")); if (!File.Exists(Path.Combine(path, "NRefactory.sln"))) throw new InvalidOperationException("Test cannot find the NRefactory source code in " + path); fileNames = Directory.GetFiles(path, "*.cs", SearchOption.AllDirectories);