Skip to content

Commit 570d35c

Browse files
committed
CI fix
1 parent c0529aa commit 570d35c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

apps/labrinth/src/util/error.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,16 @@ mod tests {
130130
}
131131

132132
// these just test that code written with the above API compiles
133-
#[test]
134-
fn wrap() -> Result<(), ApiError> {
133+
fn propagating() -> Result<(), ApiError> {
135134
sqlx_result()
136135
.wrap_internal_err("failed to perform database operation")?;
137136
sqlx_result().wrap_request_err("invalid request parameter")?;
138137
Ok(())
139138
}
139+
140+
// just so we don't get a dead code warning
141+
#[test]
142+
fn test_propagating() {
143+
_ = propagating();
144+
}
140145
}

0 commit comments

Comments
 (0)