Skip to content

Commit

Permalink
[tsv-utils/common/getopt_inorder.d] Fix unittest for dlang/phobos#10593
Browse files Browse the repository at this point in the history
dlang/phobos#10593 changes the thrown exception type from `ConvException` to `GetOptException` to provide more context on failed conversion.
  • Loading branch information
thewilsonator authored Dec 30, 2024
1 parent 38ed0a1 commit be0f279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/tsv_utils/common/getopt_inorder.d
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ unittest // Dashes
assertThrown!GetOptException(getoptInorder(args, "abc", &abc));

args = ["prog", "--abc=string"];
assertThrown!ConvException(getoptInorder(args, "abc", &abc));
assertThrown(getoptInorder(args, "abc", &abc));
}

@system unittest // From bugzilla 7693
Expand Down

0 comments on commit be0f279

Please sign in to comment.