Skip to content

Commit f521247

Browse files
committed
update tests for x-plat
1 parent a186b3e commit f521247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/service/FsiTests.fs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,11 @@ let ``EvalScript accepts paths verbatim nothrow``() =
280280
let scriptPath = @"C:\bad\path\no\donut.fsx"
281281
fsiSession.EvalScriptNonThrowing scriptPath
282282
|> showErrors
283+
|> List.map (fun s -> s.[0..20]) // avoid seeing the hardwired paths
284+
|> Seq.toList
283285
|> shouldEqual
284-
["exception Operation could not be completed due to earlier error";
285-
"error 1,0 - 1,33; Unable to find the file 'C:\\bad\\path\\no\\donut.fsx' in any of\n C:\\Users\\dsyme\\AppData\\Local\\Temp"]
286+
["exception Operation c";
287+
"error 1,0 - 1,33; Una"]
286288

287289

288290
[<Test>]

0 commit comments

Comments
 (0)