renamed a test

This commit is contained in:
sahankj2000 2024-03-27 19:20:39 +05:30
parent c06410f69f
commit 4274c0edf7

View File

@ -196,7 +196,7 @@ public class NBCLIScenarioPreprocessorTest {
}
@Test
public void testThatDuplicateParamInsideScenarioDefinitionThrowsBasicError() {
public void testThatDuplicateParamInScenarioDefThrowsError() {
assertThatExceptionOfType(BasicError.class)
.isThrownBy(() -> new NBCLIOptions(new String[]{"scenario_test", "duplicate_param"}, NBCLIOptions.Mode.ParseAllOptions))
.withMessageContaining("Duplicate occurrence of parameter \"threads\"");