Skip to content

Commit

Permalink
chore: run cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: psinghal20 <psinghal20@gmail.com>
  • Loading branch information
psinghal20 committed Jul 5, 2020
1 parent 2de816e commit 68d5eeb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/transforms/split.rs
Expand Up @@ -96,7 +96,7 @@ impl Split {
None
}
},
None => None
None => None,
};

Self {
Expand Down Expand Up @@ -177,7 +177,10 @@ mod tests {
#[test]
fn split_comma() {
assert_eq!(split("foo", Some(Regex::new(",").unwrap())), &["foo"]);
assert_eq!(split("foo,bar", Some(Regex::new(",").unwrap())), &["foo", "bar"]);
assert_eq!(
split("foo,bar", Some(Regex::new(",").unwrap())),
&["foo", "bar"]
);
}

#[test]
Expand Down

0 comments on commit 68d5eeb

Please sign in to comment.