Skip to content

Commit 400dc2e

Browse files
committed
test: add missing cfg gate to anyhow exception test
1 parent 96555c4 commit 400dc2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/exception.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ mod tests {
342342
});
343343
}
344344

345+
#[cfg(feature = "anyhow")]
345346
#[test]
346347
fn test_from_anyhow() {
347348
Embed::run(|| {

0 commit comments

Comments
 (0)