Fix failure note to_str
implementation
* Serialize the level to something a little more useful for a failure note struct * Update tests accordingly
This commit is contained in:
parent
3287a65fc0
commit
02c1b892c1
4 changed files with 12 additions and 9 deletions
|
@ -833,7 +833,7 @@ impl Level {
|
|||
Warning => "warning",
|
||||
Note => "note",
|
||||
Help => "help",
|
||||
FailureNote => "",
|
||||
FailureNote => "failure-note",
|
||||
Cancelled => panic!("Shouldn't call on cancelled error"),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue