aboutsummaryrefslogtreecommitdiff
path: root/test/test-process-title.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-process-title.c')
-rw-r--r--test/test-process-title.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-process-title.c b/test/test-process-title.c
index 886f83a7..efd48142 100644
--- a/test/test-process-title.c
+++ b/test/test-process-title.c
@@ -62,7 +62,8 @@ static void uv_get_process_title_edge_cases(void) {
TEST_IMPL(process_title) {
#if defined(__sun) || defined(__CYGWIN__) || defined(__MSYS__)
RETURN_SKIP("uv_(get|set)_process_title is not implemented.");
-#else
+#endif
+
/* Check for format string vulnerabilities. */
set_title("%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s");
set_title("new title");
@@ -71,5 +72,4 @@ TEST_IMPL(process_title) {
uv_get_process_title_edge_cases();
return 0;
-#endif
}