Check for rust doc code attributes like rustdoc does

This commit is contained in:
Lukas Wirth 2021-04-19 13:20:37 +02:00
parent 8a959497b1
commit 2f62c0117a
5 changed files with 40 additions and 45 deletions

View file

@ -307,7 +307,7 @@ fn benchmark_syntax_highlighting_parser() {
.filter(|it| it.highlight.tag == HlTag::Symbol(SymbolKind::Function))
.count()
};
assert_eq!(hash, 1629);
assert_eq!(hash, 1632);
}
#[test]