mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
rename functions names in NewRequestExceptionTests
This commit is contained in:
1 parent
03921092a4
commit
cd56c7e257
1 file changed
+3
-3
+3
-3
@@ -17,21 +17,21 @@ class NewRequestExceptionTests {
|
||||
)
|
||||
|
||||
@Test
|
||||
fun `TooMuchRequestsException is created for canonical casing`() {
|
||||
fun tooMuchRequestsExceptionIsCreatedForCanonicalCasing() {
|
||||
assertIs<TooMuchRequestsException>(
|
||||
buildException("Bad Request: Too Many Requests: retry after 8")
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `TooMuchRequestsException is created for lowercase first-letter casing`() {
|
||||
fun tooMuchRequestsExceptionIsCreatedForLowercaseFirstLetterCasing() {
|
||||
assertIs<TooMuchRequestsException>(
|
||||
buildException("Bad Request: too Many Requests: retry after 8")
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `TooMuchRequestsException is created for all-lowercase casing`() {
|
||||
fun tooMuchRequestsExceptionIsCreatedForAllLowercaseCasing() {
|
||||
assertIs<TooMuchRequestsException>(
|
||||
buildException("Bad Request: too many requests: retry after 8")
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user