Skip to content

Commit be0f279

Browse files
[tsv-utils/common/getopt_inorder.d] Fix unittest for dlang/phobos#10593
dlang/phobos#10593 changes the thrown exception type from `ConvException` to `GetOptException` to provide more context on failed conversion.
1 parent 38ed0a1 commit be0f279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/tsv_utils/common/getopt_inorder.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ unittest // Dashes
716716
assertThrown!GetOptException(getoptInorder(args, "abc", &abc));
717717

718718
args = ["prog", "--abc=string"];
719-
assertThrown!ConvException(getoptInorder(args, "abc", &abc));
719+
assertThrown(getoptInorder(args, "abc", &abc));
720720
}
721721

722722
@system unittest // From bugzilla 7693

0 commit comments

Comments
 (0)