mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-28 22:56:32 +00:00
Adjust test. valid input names aren't deterministically ordered in error message.
This commit is contained in:
parent
ea1ad0aaf5
commit
d263d6734e
1 changed files with 0 additions and 1 deletions
|
|
@ -926,7 +926,6 @@ TEST(InferenceSessionTests, TestOptionalInputs) {
|
|||
status = RunOptionalInputTest(true, true, true);
|
||||
ASSERT_FALSE(status.IsOK());
|
||||
EXPECT_THAT(status.ErrorMessage(), testing::HasSubstr("Invalid Feed Input Names: unknown_input"));
|
||||
EXPECT_THAT(status.ErrorMessage(), testing::HasSubstr("Valid input names are: required_input optional_input"));
|
||||
|
||||
// missing required
|
||||
status = RunOptionalInputTest(false, true, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue