aboutsummaryrefslogtreecommitdiff
path: root/tests/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/demo.c')
-rw-r--r--tests/demo.c5
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);
});
});