Skip to content

Commit 484a960

Browse files
committed
Make rustfmt happy
1 parent e664df5 commit 484a960

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/tests/category.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,12 @@ fn category_slugs_returns_all_slugs_in_alphabetical_order() {
172172
let (_b, app, middle) = ::app();
173173
{
174174
let conn = app.diesel_database.get().unwrap();
175-
::new_category("Foo", "foo").create_or_update(&conn).unwrap();
176-
::new_category("Bar", "bar").create_or_update(&conn).unwrap();
175+
::new_category("Foo", "foo")
176+
.create_or_update(&conn)
177+
.unwrap();
178+
::new_category("Bar", "bar")
179+
.create_or_update(&conn)
180+
.unwrap();
177181
}
178182

179183
let mut req = ::req(app, Method::Get, "/api/v1/category_slugs");

0 commit comments

Comments
 (0)