Skip to content

Commit 43eb8cc

Browse files
committed
Remove unused code
1 parent 0048ea5 commit 43eb8cc

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/commands/parser.rs

-25
Original file line numberDiff line numberDiff line change
@@ -192,28 +192,3 @@ fn todo_different_tag() {
192192
let input = "FIXME: different tag";
193193
assert_eq!(parse_todo("TODO:", input).ok(), None);
194194
}
195-
196-
// pub fn parse_todo1<'a>(todo_tag: &'a str, input: &'a str) -> IResult<&'a str, &'a str> {
197-
// preceded(take_until(todo_tag), rest)(input)
198-
// }
199-
200-
// #[test]
201-
// fn todo_clean1() {
202-
// let input = "TODO: test todo";
203-
// assert_eq!(parse_todo1("TODO:", input), Ok(("", "TODO: test todo")));
204-
// }
205-
206-
// #[test]
207-
// fn todo_in_comment1() {
208-
// let input = "// TODO: test todo";
209-
// assert_eq!(parse_todo1("TODO:", input), Ok(("", "TODO: test todo")));
210-
// }
211-
212-
// #[test]
213-
// fn todo_different_tag1() {
214-
// let input = "FIXME: different tag";
215-
// match parse_todo1("TODO:", input) {
216-
// Ok(_) => assert!(false),
217-
// Err(_) => assert!(true),
218-
// }
219-
// }

0 commit comments

Comments
 (0)