mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2026-06-21 01:40:17 +02:00
test: Add unit test for reading exit status from a non-existent file with fallback
- Introduced a new test case in VRunnerTest to verify that the fallback value is used when the exit status file does not exist.
This commit is contained in:
@@ -109,6 +109,9 @@ class VRunnerTest {
|
||||
|
||||
// then
|
||||
assertThat(result).isEqualTo(command);
|
||||
}
|
||||
|
||||
@Test
|
||||
void readExitStatusFromFile_does_not_exist_uses_provided_fallback() {
|
||||
|
||||
// given
|
||||
|
||||
Reference in New Issue
Block a user