summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-03-29 11:21:02 -0500
committertom barrett <spalf0@gmail.com>2019-03-29 11:21:02 -0500
commit95b3508d2397b64c7c63bd3586e524998f194e36 (patch)
tree494a55b9d1bc41212b05094ce26237efab5e80cd /tests
parent4576a80954d57bf2cb8ab3d99b73b75b84b2ce02 (diff)
just moved serde value to a string
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.rs2
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)