fix: even better comment handling

This commit is contained in:
Jonathan Kelley committed 2022-07-05 01:53:08 -04:00
1 parent 47f3cc2529
commit 4471ccba49
8 files changed
+115 -73

No files matched your search

+10
View File
@@ -30,3 +30,13 @@ fn comment_case_work() {
println!("{}", out);
}
#[test]
fn comment_attr_case_work() {
let src = include_str!("./samples/attrs.rsx");
let formatted = dioxus_autofmt::fmt_file(src);
let out = dioxus_autofmt::apply_formats(src, formatted);
println!("{}", out);
}