Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Dec 13, 2023
1 parent 5113ec2 commit 9ff3334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions substreams-entity-change/src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ impl_to_int32_value!(i32);

#[cfg(test)]
mod test {
use crate::pb::entity::{EntityChange, EntityChanges, entity_change::Operation, Field, Value, value::Typed, Array};
use crate::pb::entity::{EntityChange, entity_change::Operation, Field, Value, value::Typed, Array};

use super::Tables;

Expand All @@ -479,7 +479,6 @@ mod test {
assert_eq!(changes.entity_changes[0], EntityChange {
entity: "table".to_string(),
id: "1".to_string(),
ordinal: 0,
operation: Operation::Create as i32,
fields: vec![
Field {
Expand All @@ -493,9 +492,10 @@ mod test {
],
})),
}),
old_value: None,
..Default::default()
}
],
..Default::default()
});
}
}

0 comments on commit 9ff3334

Please sign in to comment.