Skip to content

Commit

Permalink
Remove irrelevant test
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Sep 14, 2023
1 parent 72aec47 commit 89be52a
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions pagefind/src/fossick/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,41 +778,6 @@ mod tests {
);
}

#[tokio::test]
async fn parse_significant_whitespace() {
let mut f = test_fossick(
[
"<html lang='ja'><body>",
"<p>Hello \u{a0} \u{a0}World ! .</p>",
"</body></html>",
]
.concat(),
)
.await;

let (digest, words, anchors, word_count) = f.parse_digest();

assert_eq!(
words,
HashMap::from_iter([
(
"hello".to_string(),
vec![FossickedWord {
position: 0,
weight: 1 * 24
}]
),
(
"world".to_string(),
vec![FossickedWord {
position: 1,
weight: 1 * 24
}]
)
])
);
}

#[cfg(not(target_os = "windows"))]
#[test]
fn building_url() {
Expand Down

0 comments on commit 89be52a

Please sign in to comment.