-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goTest: do not set range for dynamic subtests
By default, no longer sets the range property of dynamically discovered subtests. As a result, 'Go to Test' for a dynamic subtest will open relevant file but will not scroll to the function; and no play button will appear in the gutter for the subtest. Adds a setting to revert to the previous behavior. Since the previous behavior was to copy the range from the parent test, all such subtests would have the exact same range as the parent test, and thus the gutter play button would attempt to run the parent test and all of its subtests, requiring the user to right click the play button and manually select the parent test to avoid this. Change-Id: I7b95995206045b215a60d34afc00cbb6ad36ccd0 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/345869 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> Trust: Robert Findley <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]>
- Loading branch information
1 parent
1c36262
commit 9021bff
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters