Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] Seems to ignore panic in test #34

@davidsonff

Description

@davidsonff

Describe the bug
Report from sift:

github.com/JHDevOps/mfcdecision/pkg/apierrors
✓ TestErrBadUTF8 0ms
✓ TestErrBadUUID 0ms
✓ TestErrDuplicateUUID 0ms
✓ TestErrInternal 0ms
✓ TestJSONError_ActualMarshalError 0ms
✓ TestJSONError_MarshalError 0ms
✓ TestJSONHandleError 0ms
✓ TestSentinelWrappedError_APIError 0ms
✓ TestWrapError 0ms

github.com/JHDevOps/mfcdecision/pkg/mfcrules
✓ TestLoadRules 10ms

Packages 2 passed (2)
Tests 10 passed (10)
Start At 16:16:47
Duration 1.8s

PASSED

Report from tparse:

┌───────────────────────────────────────────────────────────────────────────────────────────────────┐
│ STATUS │ ELAPSED │ PACKAGE │ COVER │ PASS │ FAIL │ SKIP │
│─────────┼─────────┼─────────────────────────────────────────────────┼───────┼──────┼──────┼───────│
│ PANIC │ 0.00s │ github.com/JHDevOps/mfcdecision/cmd │ -- │ -- │ -- │ -- │
│ PANIC │ 0.00s │ github.com/JHDevOps/mfcdecision/pkg/mfcdecision │ -- │ -- │ -- │ -- │
│ PASS │ 1.42s │ github.com/JHDevOps/mfcdecision │ 0.0% │ 0 │ 0 │ 0 │
│ PASS │ 1.08s │ github.com/JHDevOps/mfcdecision/pkg/apierrors │ 77.8% │ 9 │ 0 │ 0 │
│ PASS │ 0.24s │ github.com/JHDevOps/mfcdecision/pkg/mfcrules │ 68.2% │ 1 │ 0 │ 0 │
│ PASS │ 1.23s │ github.com/JHDevOps/mfcdecision/pkg/testDBs │ 0.0% │ 0 │ 0 │ 0 │
└───────────────────────────────────────────────────────────────────────────────────────────────────┘

To Reproduce
Steps to reproduce the behavior:

eg.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions:

  • Go Version [e.g 1.25]
  • CLI Version [e.g. 0.8.0]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions