Repository navigation
Commit 9cbb91f
committed
engine-manager: state the over-long query test's two expectations separately
One condition checked both that there was an error and what it said. Split, the test fails plainly if the query is answered, and compares the message only once there is one -- comparing a nil error's message would panic instead of failing.
Signed-off-by: Terve <ntervalon@nvidia.com>1 parent c73e4ed commit 9cbb91f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
643 | | - | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
644 | 647 | | |
645 | 648 | | |
646 | 649 | | |
| |||
0 commit comments