Skip to content

Commit

Permalink
Merge pull request #3 from nuttycom/fix_str_combine
Browse files Browse the repository at this point in the history
Revert change to string combine function for tests.
  • Loading branch information
ebfull authored Jun 24, 2021
2 parents 6b42e59 + e499a27 commit 5abf28c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
}
}

Expand Down

0 comments on commit 5abf28c

Please sign in to comment.