Last active
May 28, 2016 19:34
-
-
Save mackwic/8c4619bb04be5e47804454396693806f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[test] | |
| fn runner_efectively_run_tests() { | |
| let mut ran = false; | |
| let mut runner = describe("A root", move |ctx| { | |
| ctx.it("is expected to run", move || { | |
| ran = true | |
| }) | |
| }); | |
| assert_eq!(Ok(()), runner.run()); | |
| assert_eq!(true, ran) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment