mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
refactor tests
This commit is contained in:
parent
4450d4410b
commit
7ac55f29db
30 changed files with 467 additions and 454 deletions
|
@ -36,6 +36,7 @@ impl OTError {
|
|||
}
|
||||
|
||||
static_ot_error!(duplicate_revision, OTErrorCode::DuplicatedRevision);
|
||||
static_ot_error!(revision_id_conflict, OTErrorCode::RevisionIDConflict);
|
||||
}
|
||||
|
||||
impl fmt::Display for OTError {
|
||||
|
@ -66,6 +67,7 @@ pub enum OTErrorCode {
|
|||
RedoFail,
|
||||
SerdeError,
|
||||
DuplicatedRevision,
|
||||
RevisionIDConflict,
|
||||
}
|
||||
|
||||
pub struct ErrorBuilder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue