Compare commits
4 commits
94c5b3fd8f
...
3d008bd390
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d008bd390 | |||
| 01ef8679b4 | |||
| 9db4e6bef8 | |||
| ee269e212e |
1 changed files with 6 additions and 6 deletions
12
src/issue.rs
12
src/issue.rs
|
|
@ -620,7 +620,7 @@ mod tests {
|
|||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn tag_from_filename_0() {
|
||||
fn parse_tag_0() {
|
||||
assert_eq!(
|
||||
Issue::tag_from_filename("hello").unwrap(),
|
||||
String::from("hello")
|
||||
|
|
@ -628,7 +628,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn tag_from_filename_1() {
|
||||
fn parse_tag_1() {
|
||||
assert_eq!(
|
||||
Issue::tag_from_filename("hello,0world").unwrap(),
|
||||
String::from("hello,world")
|
||||
|
|
@ -636,7 +636,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn tag_from_filename_2() {
|
||||
fn parse_tag_2() {
|
||||
assert_eq!(
|
||||
Issue::tag_from_filename("hello,1world").unwrap(),
|
||||
String::from("hello/world")
|
||||
|
|
@ -644,7 +644,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn tag_from_filename_3() {
|
||||
fn parse_tag_3() {
|
||||
assert_eq!(
|
||||
Issue::tag_from_filename(",0hello,1world,0").unwrap(),
|
||||
String::from(",hello/world,")
|
||||
|
|
@ -652,7 +652,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn tag_from_filename_4() {
|
||||
fn parse_tag_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 tag_from_filename_5() {
|
||||
fn parse_tag_5() {
|
||||
// std::io::Error does not impl PartialEq :-(
|
||||
let filename = "hello,world";
|
||||
match Issue::tag_from_filename(filename) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue