mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Fix some more C# unit test issues.
Ignore bin and obj directories under /csharp
This commit is contained in:
parent
f3fb1d5ff8
commit
97dc949e3f
2 changed files with 5 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -29,3 +29,5 @@ onnxruntime_profile*.json
|
|||
/docs/python/examples/*.onnx
|
||||
/docs/python/examples/graph.*
|
||||
/docs/python/*_LICENSE
|
||||
/csharp/**/obj/
|
||||
/csharp/**/bin/
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ namespace Microsoft.ML.OnnxRuntime.Tests
|
|||
container.Add(nov1);
|
||||
container.Add(nov2);
|
||||
var ex = Assert.Throws<OnnxRuntimeException>(() => session.Run(container));
|
||||
Assert.Equal("[ErrorCode:InvalidArgument] Invalid Feed Input Names: extra. Valid input names are: data_0 ", ex.Message);
|
||||
Assert.StartsWith("[ErrorCode:InvalidArgument] Invalid Feed Input Names: extra. Valid input names are: ", ex.Message);
|
||||
session.Dispose();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue