Skip to content

Commit

Permalink
Fixed OPEN AI LLM test
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 9, 2024
1 parent 0392f8d commit a8ed2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redacters/open_ai_llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ mod tests {
let redacted_content = redacter.redact(input).await?;
match redacted_content {
RedacterDataItemContent::Value(value) => {
assert_eq!(value, "Hello, XXXX");
assert_eq!(value.trim(), "Hello, [REDACTED]");
}
_ => panic!("Unexpected redacted content type"),
}
Expand Down

0 comments on commit a8ed2a8

Please sign in to comment.