Fixed a bug that the active editor file might get attached to a wrong workspace folder (sometimes, deferred mode, race condition etc), even when the file is not under that workspace folder.
This could explain #1086, specifically in comment.
Also refactored the TestResultProvider.isTestFile to return a deterministic boolean value by parsing the content instead of returning a "maybe" value originally.
Fixed a bug that the active editor file might get attached to a wrong workspace folder (sometimes, deferred mode, race condition etc), even when the file is not under that workspace folder.
This could explain #1086, specifically in comment.
Also refactored the
TestResultProvider.isTestFile
to return a deterministic boolean value by parsing the content instead of returning a "maybe" value originally.Resolve #1086