fix typo in test comment

This commit is contained in:
ad hoc 2022-04-04 20:34:23 +02:00 committed by GitHub
parent 284d8a24e0
commit 3e67d8818c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ fn test_typo_disabled_on_word() {
let config = IndexerConfig::default(); let config = IndexerConfig::default();
let mut builder = Settings::new(&mut txn, &index, &config); let mut builder = Settings::new(&mut txn, &index, &config);
let mut exact_words = BTreeSet::new(); let mut exact_words = BTreeSet::new();
// sealand doesn't allow typos anymore // `zealand` doesn't allow typos anymore
exact_words.insert("zealand".to_string()); exact_words.insert("zealand".to_string());
builder.set_exact_words(exact_words); builder.set_exact_words(exact_words);
builder.execute(|_| ()).unwrap(); builder.execute(|_| ()).unwrap();