-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor duplicate code in task_validation_test.go
Prior to this commit, many test functions in this file need to get context based on whether alpha api flag is enabled and this duplicate code chuck appears multiple times. Adding a new helper function will make this code chuck reusable when testing future features that will be developed under alpha feature.
- Loading branch information
1 parent
a3caabf
commit 30bed9f
Showing
1 changed file
with
14 additions
and
23 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