Skip to content

Commit

Permalink
[starter eel] AT-2019 Renaming
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0df0e350222200479cdaa25b2aba38b35b565a40
  • Loading branch information
Nikita-Kudrin authored and intellij-monorepo-bot committed Feb 7, 2025
1 parent 4451c9d commit 99e8a82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fun TestInfo.hyphenateWithClass(): String {
return "$className/$methodName".hyphenateTestName()
}

fun TestInfo.hyphenate(): String {
fun TestInfo.hyphenateName(): String {
return testMethod.get().name.hyphenateTestName()
}

Expand All @@ -34,7 +34,7 @@ fun CurrentTestMethod.getName(): String = checkTestMethodIsNotNull(this.get()).n
/**
* @return Hyphenated test name from the current test method as testMethodName => test-method-name
*/
fun CurrentTestMethod.hyphenate(): String = checkTestMethodIsNotNull(this.get()).name.hyphenateTestName()
fun CurrentTestMethod.hyphenateName(): String = checkTestMethodIsNotNull(this.get()).name.hyphenateTestName()

/**
* @return Hyphenated test class and test method name from the current test method as ClassName/testMethodName => class-name/test-method-name
Expand Down

0 comments on commit 99e8a82

Please sign in to comment.