Remove unnecessary tests
This commit is contained in:
@@ -315,23 +315,13 @@ pub fn move_money_2(
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn it_works() {
|
|
||||||
let result = 2 + 2;
|
|
||||||
assert_eq!(result, 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn move_money() {
|
fn move_money() {
|
||||||
let result = super::move_money(
|
super::move_money(
|
||||||
csv::Reader::from_path("reclassrule.csv").unwrap(),
|
csv::Reader::from_path("reclassrule.csv").unwrap(),
|
||||||
csv::Reader::from_path("line.csv").unwrap(),
|
csv::Reader::from_path("line.csv").unwrap(),
|
||||||
csv::Writer::from_path("output.csv").unwrap(),
|
csv::Writer::from_path("output.csv").unwrap(),
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
if let Err(err) = result {
|
|
||||||
print!("{}", err);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user