File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ impl fmt::Display for TestName {
106
106
}
107
107
108
108
#[ derive( Clone , Copy , PartialEq , Eq ) ]
109
- enum NamePadding {
109
+ pub enum NamePadding {
110
110
PadNone ,
111
111
PadOnRight ,
112
112
}
@@ -950,7 +950,7 @@ fn stdout_isatty() -> bool {
950
950
}
951
951
952
952
#[ derive( Clone ) ]
953
- enum TestEvent {
953
+ pub enum TestEvent {
954
954
TeFiltered ( Vec < TestDesc > ) ,
955
955
TeWait ( TestDesc , NamePadding ) ,
956
956
TeResult ( TestDesc , TestResult , Vec < u8 > ) ,
@@ -960,7 +960,7 @@ enum TestEvent {
960
960
pub type MonitorMsg = ( TestDesc , TestResult , Vec < u8 > ) ;
961
961
962
962
963
- fn run_tests < F > ( opts : & TestOpts , tests : Vec < TestDescAndFn > , mut callback : F ) -> io:: Result < ( ) >
963
+ pub fn run_tests < F > ( opts : & TestOpts , tests : Vec < TestDescAndFn > , mut callback : F ) -> io:: Result < ( ) >
964
964
where F : FnMut ( TestEvent ) -> io:: Result < ( ) >
965
965
{
966
966
use std:: collections:: HashMap ;
You can’t perform that action at this time.
0 commit comments