Skip to content

Commit

Permalink
Updated comment to rerun tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rnapoles-rh committed Mar 2, 2022
1 parent acdd7e2 commit 95af809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helper/helper_generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func CommonBeforeEach() CommonVar {
// CommonAfterEach is common function that cleans up after every test Spec (It)
func CommonAfterEach(commonVar CommonVar) {
// Get details, including test result for each test spec and adds it to local testResults.txt file
// Ginkgo test related variables
// Ginkgo test related variables.
commonVar.testFileName = strings.Replace(CurrentGinkgoTestDescription().FileName[strings.LastIndex(CurrentGinkgoTestDescription().FileName, "/")+1:strings.LastIndex(CurrentGinkgoTestDescription().FileName, ".")], "_", "-", -1) + ".go"
commonVar.testCase = CurrentGinkgoTestDescription().FullTestText
commonVar.testFailed = CurrentGinkgoTestDescription().Failed
Expand Down

0 comments on commit 95af809

Please sign in to comment.