mirror of https://github.com/0xplaygrounds/rig
fix: tests
This commit is contained in:
parent
d618d1a435
commit
4b38294264
|
@ -557,13 +557,13 @@ mod tests {
|
||||||
content: OneOrMany::many(vec![
|
content: OneOrMany::many(vec![
|
||||||
UserContent::document(
|
UserContent::document(
|
||||||
"<file id: doc1>\nDocument 1 text.\n</file>\n".to_string(),
|
"<file id: doc1>\nDocument 1 text.\n</file>\n".to_string(),
|
||||||
None,
|
Some(ContentFormat::String),
|
||||||
None,
|
Some(DocumentMediaType::TXT),
|
||||||
),
|
),
|
||||||
UserContent::document(
|
UserContent::document(
|
||||||
"<file id: doc2>\nDocument 2 text.\n</file>\n".to_string(),
|
"<file id: doc2>\nDocument 2 text.\n</file>\n".to_string(),
|
||||||
None,
|
Some(ContentFormat::String),
|
||||||
None,
|
Some(DocumentMediaType::TXT),
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.expect("There will be at least one document"),
|
.expect("There will be at least one document"),
|
||||||
|
|
Loading…
Reference in New Issue