Compare commits

..

4 commits

View file

@ -620,7 +620,7 @@ mod tests {
use pretty_assertions::assert_eq;
#[test]
fn parse_tag_0() {
fn tag_from_filename_0() {
assert_eq!(
Issue::tag_from_filename("hello").unwrap(),
String::from("hello")
@ -628,7 +628,7 @@ mod tests {
}
#[test]
fn parse_tag_1() {
fn tag_from_filename_1() {
assert_eq!(
Issue::tag_from_filename("hello,0world").unwrap(),
String::from("hello,world")
@ -636,7 +636,7 @@ mod tests {
}
#[test]
fn parse_tag_2() {
fn tag_from_filename_2() {
assert_eq!(
Issue::tag_from_filename("hello,1world").unwrap(),
String::from("hello/world")
@ -644,7 +644,7 @@ mod tests {
}
#[test]
fn parse_tag_3() {
fn tag_from_filename_3() {
assert_eq!(
Issue::tag_from_filename(",0hello,1world,0").unwrap(),
String::from(",hello/world,")
@ -652,7 +652,7 @@ mod tests {
}
#[test]
fn parse_tag_4() {
fn tag_from_filename_4() {
// std::io::Error does not impl PartialEq :-(
let filename = "hello,";
match Issue::tag_from_filename(filename) {
@ -665,7 +665,7 @@ mod tests {
}
#[test]
fn parse_tag_5() {
fn tag_from_filename_5() {
// std::io::Error does not impl PartialEq :-(
let filename = "hello,world";
match Issue::tag_from_filename(filename) {