mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
enshort var name
This commit is contained in:
parent
a5638fde33
commit
8eaad1dac9
1 changed files with 2 additions and 5 deletions
|
|
@ -75,11 +75,8 @@ fn test() {
|
|||
assert_eq!(format!("{t} {VALUE} ").as_value(), value);
|
||||
}
|
||||
|
||||
fn to_source(level: &Level) {
|
||||
assert_eq!(
|
||||
VALUE.to_source(level),
|
||||
format!("{} {VALUE}", level.as_tag())
|
||||
);
|
||||
fn to_source(l: &Level) {
|
||||
assert_eq!(VALUE.to_source(l), format!("{} {VALUE}", l.as_tag()));
|
||||
}
|
||||
to_source(&Level::H1);
|
||||
to_source(&Level::H2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue