mirror of
https://github.com/haraldh/chainerror.git
synced 2025-06-05 07:44:36 +02:00
chore: remove more Chain..
occurences
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
cacfb37d44
commit
cb2e1509e5
3 changed files with 8 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
use chainerror::prelude::v1::*;
|
||||
use chainerror::ResultTrait;
|
||||
|
||||
#[test]
|
||||
fn test_basic() {
|
||||
|
@ -19,7 +19,6 @@ fn test_basic() {
|
|||
|
||||
if let Err(e) = process_config_file() {
|
||||
let os_notfound_error = std::io::Error::from_raw_os_error(2);
|
||||
eprintln!("Error:\n{:?}", e);
|
||||
let s = format!("{:?}", e);
|
||||
let lines = s.lines().collect::<Vec<_>>();
|
||||
assert_eq!(lines.len(), 5);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use chainerror::prelude::v1::*;
|
||||
use chainerror::ResultTrait;
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue