mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-04-01 17:45:36 +00:00
fix sources location
This commit is contained in:
parent
7df3bfeb91
commit
d42af120ca
11 changed files with 1 additions and 1 deletions
19
src/lib.rs
Normal file
19
src/lib.rs
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue