diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/yaml/data/test.yaml | 1 | ||||
-rw-r--r-- | tests/auto/yaml/tst_yaml.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/yaml/data/test.yaml b/tests/auto/yaml/data/test.yaml index b16e3d39..7b2e5e84 100644 --- a/tests/auto/yaml/data/test.yaml +++ b/tests/auto/yaml/data/test.yaml @@ -15,6 +15,7 @@ bool-false: false bool-no: no null-literal: null null-tilde: ~ +null-empty: string-unquoted: unquoted string-singlequoted: 'singlequoted' string-doublequoted: "doublequoted" diff --git a/tests/auto/yaml/tst_yaml.cpp b/tests/auto/yaml/tst_yaml.cpp index 344f0d15..c9f3394c 100644 --- a/tests/auto/yaml/tst_yaml.cpp +++ b/tests/auto/yaml/tst_yaml.cpp @@ -52,6 +52,7 @@ void tst_Yaml::parser() { "bool-no", false }, { "null-literal", vnull }, { "null-tilde", vnull }, + { "null-empty", vnull }, { "string-unquoted", QVariant::fromValue<QString>(qSL("unquoted")) }, { "string-singlequoted", QVariant::fromValue<QString>(qSL("singlequoted")) }, { "string-doublequoted", QVariant::fromValue<QString>(qSL("doublequoted")) }, @@ -176,6 +177,7 @@ static const QVariantMap testMainDoc = { { qSL("bool-no"), false }, { qSL("null-literal"), vnull }, { qSL("null-tilde"), vnull }, + { qSL("null-empty"), vnull }, { qSL("string-unquoted"), qSL("unquoted") }, { qSL("string-singlequoted"), qSL("singlequoted") }, { qSL("string-doublequoted"), qSL("doublequoted") }, |