Skip to content

Commit 784348a

Browse files
committed
Test: use cross-platform path separator.
1 parent b73a968 commit 784348a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Naggum.Test/CompilerTest.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
open System.Diagnostics
44
open System.IO
5+
open System.Reflection
56

67
open Xunit
78

@@ -12,7 +13,7 @@ type CompilerTest() =
1213
static let resultExtension = "result"
1314
static let executableExtension = "exe"
1415

15-
static let directory = @"..\..\..\tests"
16+
static let directory = Path.Combine ("..", "..", "..", "tests")
1617
static let filenames = [@"comment"; @"test"]
1718

1819
static member private RunTest testName =

0 commit comments

Comments
 (0)