rusty-fork icon indicating copy to clipboard operation
rusty-fork copied to clipboard

Add optional return type to rusty_test functions

Open oknozor opened this issue 4 years ago • 0 comments

This PR allow to use rusty_fork_test! tests having a return type :

    rusty_fork_test! {
        #[test]
        fn trivial() { }

         #[test]
        fn trivial_with_return() -> Result<(), &'static str> { Ok(()) }
    }

oknozor avatar Dec 03 '21 16:12 oknozor