25 lines
246 B
Rust
25 lines
246 B
Rust
|
use crate::compare;
|
||
|
|
||
|
#[test]
|
||
|
fn test_bf9dbab() {
|
||
|
let src = r##"```=html
|
||
|
<tag1>
|
||
|
<tag2>
|
||
|
```
|
||
|
|
||
|
paragraph
|
||
|
|
||
|
```=html
|
||
|
</tag2>
|
||
|
</tag1>
|
||
|
```
|
||
|
"##;
|
||
|
let expected = r##"<tag1>
|
||
|
<tag2>
|
||
|
<p>paragraph</p>
|
||
|
</tag2>
|
||
|
</tag1>
|
||
|
"##;
|
||
|
compare!(src, expected);
|
||
|
}
|