summary refs log tree commit diff
path: root/libnm-core/tests/test-general.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-01-23 23:34:56 +0100
committerMichael Biebl <biebl@debian.org>2017-01-23 23:34:56 +0100
commitd462f64d6044349b0a4e3581cf2c97bbab7aec97 (patch)
tree0743acb1a191ce83b5722d77aeb896c6c0cdd952 /libnm-core/tests/test-general.c
parent58f8be580039b0575b197b9573a1c92745d96d30 (diff)
New upstream version 1.5.91 upstream/1.5.91
Diffstat (limited to 'libnm-core/tests/test-general.c')
-rw-r--r--libnm-core/tests/test-general.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-core/tests/test-general.c b/libnm-core/tests/test-general.c
index 1cb8d7af..b9fef8da 100644
--- a/libnm-core/tests/test-general.c
+++ b/libnm-core/tests/test-general.c
@@ -4708,7 +4708,9 @@ test_nm_utils_check_valid_json (void)
 #else
 	/* Without JSON library everything except empty string is considered valid */
 	_json_config_check_valid ("{ }", TRUE);
-	_json_config_check_valid ("{'%!-a1", TRUE);
+	_json_config_check_valid ("{'%!-a1} ", TRUE);
+	_json_config_check_valid (" {'%!-a1}", TRUE);
+	_json_config_check_valid ("{'%!-a1", FALSE);
 #endif
 }