Skip to content

Commit 0576c5b

Browse files
committed
Slight correction in error message for clarity
1 parent 15c3a7c commit 0576c5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: validate.sbt

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ validateUnitTestNames := {
1212
if (invalidTestName.nonEmpty) {
1313
log.error(
1414
s""" ***************************************************
15-
| Found unit test files not matching with naming standards. Unit test files must end with UnitTest.scala.
16-
| Refer to README.md file in the GitHub for more information.
17-
| Invalid files:
18-
| ${invalidTestNameFormatted}
19-
| ***************************************************
15+
|Found unit test classes not matching with naming standards. Unit test class must end with `UnitTest`.
16+
|Refer to README.md file in the GitHub for more information.
17+
|Invalid test classes:
18+
|${invalidTestNameFormatted}
19+
|***************************************************
2020
|""".stripMargin
2121
)
2222
}
2323
require(
2424
invalidTestName.isEmpty,
25-
s"Found ${invalidTestName.size} tests that doesn't follow naming convention, check the logs above for list of files!"
25+
s"Found ${invalidTestName.size} tests that doesn't follow naming convention, check the logs above for list of test classes!"
2626
)
2727
0
2828
}

0 commit comments

Comments
 (0)