fix sources location

This commit is contained in:
yggverse 2024-10-18 19:19:39 +03:00
parent 7df3bfeb91
commit d42af120ca
11 changed files with 1 additions and 1 deletions

19
src/lib.rs Normal file
View file

@ -0,0 +1,19 @@
mod line;
#[cfg(test)]
mod tests {
use super::line::header::{Header, Level};
#[test]
fn h1() {
match Header::from("# H1") {
Some(h1) => {
assert_eq!(h1.level as i32, Level::H1 as i32); // @TODO
assert_eq!(h1.value, "H1");
}
None => assert!(false),
};
}
// @TODO other tags
}