Merge pull request #3 from nuttycom/fix_str_combine
Revert change to string combine function for tests.
This commit is contained in:
commit
5abf28ccf3
|
@ -25,7 +25,7 @@
|
||||||
//! roll back to any previous checkpoint.
|
//! roll back to any previous checkpoint.
|
||||||
|
|
||||||
pub mod bridgetree;
|
pub mod bridgetree;
|
||||||
pub mod sample;
|
mod sample;
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::ops::Add;
|
use std::ops::Add;
|
||||||
|
@ -319,9 +319,8 @@ pub(crate) mod tests {
|
||||||
"_".to_string()
|
"_".to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn combine(l: Altitude, a: &Self, b: &Self) -> Self {
|
fn combine(_: Altitude, a: &Self, b: &Self) -> Self {
|
||||||
format!("{}({}{})", l.0, a, b)
|
a.to_string() + b
|
||||||
//a.to_string() + b
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue