mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-10 22:56:28 +00:00
Fix bug where assert used != instead of ==
And update snapshot tests.
This commit is contained in:
committed by
Clément Renault
parent
ffd5cb5ad3
commit
50d48df636
@ -80,8 +80,8 @@ impl IndexScheduler {
|
||||
})?;
|
||||
}
|
||||
|
||||
assert!(
|
||||
old_task.enqueued_at != task.enqueued_at,
|
||||
assert_eq!(
|
||||
old_task.enqueued_at, task.enqueued_at,
|
||||
"Cannot update a task's enqueued_at time"
|
||||
);
|
||||
if old_task.started_at != task.started_at {
|
||||
|
Reference in New Issue
Block a user