[libcalamares] Expand YAML testing a little

- load/save of a stringlist seems to work
This commit is contained in:
Adriaan de Groot 2020-08-07 00:57:30 +02:00
parent dbc49f001e
commit 0de98fe4c1
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# YAML dump
---
"cow": "moo"
"derp": 17
"dwarfs":
- "sleepy"
- "sneezy"
- "doc"

View File

@ -148,6 +148,7 @@ LibCalamaresTests::recursiveCompareMap( const QVariantMap& a, const QVariantMap&
void
LibCalamaresTests::testLoadSaveYamlExtended()
{
Logger::setupLogLevel( Logger::LOGDEBUG );
bool loaded_ok;
for ( const auto& confname : findConf( QDir( "../src" ) ) )
{