From 260ce618d98c9ec732362ab82b2efeb2c412ac24 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 18 Dec 2016 19:44:12 -0800 Subject: Suppress exposure of contexts to code under test. Fix timing display, and other output bugs. --- tests/demo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/demo.c') diff --git a/tests/demo.c b/tests/demo.c index 26210391..9ff70727 100644 --- a/tests/demo.c +++ b/tests/demo.c @@ -54,8 +54,11 @@ test_main_group({ test_group("Second group", { int x = 1; + static int y =1; test_convey("x is 1", { - sleep(2); +#ifndef _WIN32 + sleep(1); +#endif test_so(x == 1); }); }); -- cgit v1.2.3-70-g09d2