Skip to content

Commit 637f2c3

Browse files
committed
tests: fix test
1 parent 2798183 commit 637f2c3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/java/com/thebuzzmedia/exiftool/it/builder/AbstractExifToolIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ void it_should_fail_with_missing_exiftool() {
5050

5151
assertThatThrownBy(builder::build)
5252
.isInstanceOf(ExifToolNotFoundException.class)
53-
.hasMessageContaining("Cannot run program \"" + path + "\"")
54-
.hasMessageContaining("error=2");
53+
.hasMessageContaining("Cannot run program \"" + path + "\"");
5554
}
5655

5756
abstract ExifToolBuilder create();

0 commit comments

Comments
 (0)