Skip to content

Commit 5cf1d4b

Browse files
committed
Fix hardcoded path in unit test
1 parent 0d15e1c commit 5cf1d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/service/EditorTests.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ let _ = printf " %a" (fun _ _ -> ()) 2
471471
let _ = printf " %*a" 3 (fun _ _ -> ()) 2
472472
"""
473473

474-
let file = "/home/user/Test.fsx"
474+
let file = System.IO.Path.Combine [| "home"; "user"; "Test.fsx" |]
475475
let parseResult, typeCheckResults = parseAndCheckScript(file, input)
476476

477477
typeCheckResults.Diagnostics

0 commit comments

Comments
 (0)