Skip to content

Commit

Permalink
Move to comparing the toString() of the uris, not the path, which had…
Browse files Browse the repository at this point in the history
… case incompatibilities
  • Loading branch information
chrissimon-au committed Nov 27, 2023
1 parent 5c6f0aa commit 3eff2dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vscode/contextive/test/helpers/Helpers.fs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ let getDocUri relativeFile =

let findUriInVisibleEditors (docUri: Uri) =
window.visibleTextEditors.Find(fun te ->
printfn "docUri is: %s" (docUri.path)
printfn "docUri is: %s" (docUri.toString ())
logInspect docUri
printfn "editors path is: %s" (te.document.uri.path)
printfn "editors path is: %s" (te.document.uri.toString ())
logInspect te.document.uri
te.document.uri.path = docUri.path)
te.document.uri.toString () = docUri.toString ())

let documentIsOpen docUri () =
promise {
Expand Down

0 comments on commit 3eff2dd

Please sign in to comment.