Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 5da59c2

Browse files
committed
Add test to check name collision.
1 parent 4232afc commit 5da59c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/tests.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,3 +437,13 @@ fn documentation() {
437437
}
438438
}
439439
}
440+
441+
#[cfg(test)]
442+
mod multiple_error_same_mod {
443+
error_chain! {
444+
types {
445+
MyError, MyErrorKind, MyResult;
446+
}
447+
}
448+
error_chain! {}
449+
}

0 commit comments

Comments
 (0)