Skip to content

Commit b43657c

Browse files
committed
test: add regression test for #340
1 parent 953fbef commit b43657c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.config/lingo.dic

+1
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ UTF-8
7373
whitespace/MS
7474
workspace/MS
7575
YOLO
76+
porject/MS

src/tests.rs

+18
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,24 @@ struct CAPI;
286286
);
287287
}
288288

289+
#[test]
290+
fn issue_340() {
291+
// The test
292+
end2end!(
293+
r####"
294+
/// An image tag <img /> missselled1
295+
/// Another <img>enclosed</img> missselled2
296+
/// Yet again <img> missselled3
297+
/// missselled4
298+
struct Foo;
299+
"####,
300+
ContentOrigin::TestEntityRust,
301+
4,
302+
HunspellChecker,
303+
Default::default()
304+
);
305+
}
306+
289307
#[test]
290308
fn file_justone() {
291309
end2end_file_rust!("demo/src/nested/justone.rs", 2);

0 commit comments

Comments
 (0)