mirror of
https://github.com/yalue/onnxruntime_go.git
synced 2025-12-24 13:38:00 +08:00
Use t.Fatalf and t.Errorf in onnxruntime_test.go
- I used t.Logf(), t.FailNow() in many places when a single function would have sufficed. Apparently I need to read the Go docs a bit better.
This commit is contained in:
@@ -53,6 +53,9 @@ Tests
|
||||
- In short, after _every_ change, `go test -v -bench=.` must pass on _every_
|
||||
supported platform.
|
||||
|
||||
- Every test failure should be accompanied by a message containing the reason,
|
||||
either using `t.Logf()`, `t.Errorf()`, or `t.Fatalf()`.
|
||||
|
||||
|
||||
Adding New Files
|
||||
----------------
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user