mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
Fix bug where assert used != instead of ==
And update snapshot tests.
This commit is contained in:
committed by
Clément Renault
parent
23b01a58df
commit
bdb17954d2
@ -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