Merge pull request #3 from nuttycom/fix_str_combine

Revert change to string combine function for tests.
This commit is contained in:
ebfull 2021-06-24 14:13:32 -06:00 committed by GitHub
commit 5abf28ccf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@
//! roll back to any previous checkpoint.
pub mod bridgetree;
pub mod sample;
mod sample;
use serde::{Deserialize, Serialize};
use std::ops::Add;
@ -319,9 +319,8 @@ pub(crate) mod tests {
"_".to_string()
}
fn combine(l: Altitude, a: &Self, b: &Self) -> Self {
format!("{}({}{})", l.0, a, b)
//a.to_string() + b
fn combine(_: Altitude, a: &Self, b: &Self) -> Self {
a.to_string() + b
}
}