diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 781e365..7d7449c 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -553,7 +553,7 @@ mod tests { .load::<MassEntry>(&connection) .expect("Cannot filter"); - assert!(mass.position.x == db_mass[0].pos_x); + assert!(mass.position.x == db_mass[0].to_mass().1.position.x); diesel::delete(db_masses.filter(dsl::name.eq(name))) .execute(&connection) |