Skip to content

Commit

Permalink
decoder as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 6, 2024
1 parent 021eec2 commit 6860310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenizers/src/decoders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ mod tests {

#[test]
fn decoder_deserialization_no_type() {
let json = r#"{"replacement":"▁","prepend_scheme":"always"}"#;
let json = r#"{"replacement":"▁","add_prefix_space":true,"prepend_scheme":"always"}"#;
assert!(serde_json::from_str::<DecoderWrapper>(json).is_err());
}
}

0 comments on commit 6860310

Please sign in to comment.