Code

data: Format NULL as NULL and never quote it.
[sysdb.git] / t / unit / core / data_test.c
index 5c10c59f7693c465b49db2ae5544568f8566634b..e8567b1ad61c1f2cb2c1a3cf0f72874a93cdfcc9 100644 (file)
@@ -1285,7 +1285,7 @@ START_TEST(test_format)
                },
                {
                        { SDB_TYPE_STRING, { .string = NULL } },
-                       "\"<NULL>\"",
+                       "NULL",
                },
                {
                        { SDB_TYPE_STRING, { .string = "this is a test" } },
@@ -1301,7 +1301,7 @@ START_TEST(test_format)
                },
                {
                        { SDB_TYPE_BINARY, { .binary = { 0, NULL } } },
-                       "\"<NULL>\"",
+                       "NULL",
                },
                {
                        {