diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-18 19:44:12 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-18 19:44:12 -0800 |
| commit | 260ce618d98c9ec732362ab82b2efeb2c412ac24 (patch) | |
| tree | b3320f61913eb2c8dc0ef9d779c02747039a214d /tests/demo.c | |
| parent | 5293a691d6036d9bccdfceab250443ca3dc92051 (diff) | |
| download | nng-260ce618d98c9ec732362ab82b2efeb2c412ac24.tar.gz nng-260ce618d98c9ec732362ab82b2efeb2c412ac24.tar.bz2 nng-260ce618d98c9ec732362ab82b2efeb2c412ac24.zip | |
Suppress exposure of contexts to code under test.
Fix timing display, and other output bugs.
Diffstat (limited to 'tests/demo.c')
| -rw-r--r-- | tests/demo.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); }); }); |
