Fix test case

This commit is contained in:
Victor 2018-11-06 16:40:50 +02:00
parent 1e764dfaf2
commit f133572a3a

View File

@ -113,7 +113,7 @@ public class TestAnswerInlineQuery {
try {
answerInlineQuery.validate();
} catch (TelegramApiValidationException e) {
Assert.assertEquals("SwitchPmParameter only allows A-Z, a-z, 0-9 and _ characters", e.getMessage());
Assert.assertEquals("SwitchPmParameter only allows A-Z, a-z, 0-9, _ and - characters", e.getMessage());
}
}
}