Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fluxtest): enhance fluxtest to use package name with test/skip flags #5039

Merged
merged 8 commits into from
Aug 11, 2022
Prev Previous commit
Next Next commit
fix: allow only dot as a package qualifier
  • Loading branch information
skartikey committed Aug 11, 2022
commit 4db9b38d48a529f3f7410fc6e0e93f154f1a3a00
2 changes: 1 addition & 1 deletion cmd/flux/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func contains(names []string, name string) bool {
func containsWithPkgName(names []string, test *Test) bool {
var aTest, tTestName string
for _, name := range names {
fTest := splitAny(name, "./")
fTest := splitAny(name, ".")
// handle package.TestName or package/TestName case
if len(fTest) > 1 {
aTest = strings.Join(fTest, ".")
Expand Down