Skip to content

Commit

Permalink
Fix config text
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Jan 24, 2025
1 parent f1e4a13 commit ec2bd21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codebook-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ mod tests {
config.save()?;
// Add a word
config.add_word("testword")?;

config.save()?;
// Reload config and verify
let loaded_config = CodebookConfig::load_from_file(&config_path)?;
assert!(loaded_config.is_allowed_word("testword"));
Expand Down Expand Up @@ -454,6 +454,7 @@ mod tests {
config.save()?;
// Add a word with mixed case
config.add_word("TestWord")?;
config.save()?;

// Reload config and verify with different cases
let loaded_config = CodebookConfig::load_from_file(&config_path)?;
Expand Down

0 comments on commit ec2bd21

Please sign in to comment.