diff options
Diffstat (limited to 'test/core')
| -rw-r--r-- | test/core/common/VariantReaderTest.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/test/core/common/VariantReaderTest.cpp b/test/core/common/VariantReaderTest.cpp index feaf06d..a23af09 100644 --- a/test/core/common/VariantReaderTest.cpp +++ b/test/core/common/VariantReaderTest.cpp @@ -622,6 +622,13 @@ TEST(VariantReader, parseObject)  		auto res = VariantReader::parseObject(reader, logger);  		ASSERT_FALSE(res.first);  	} + +	// Mutliple commas +	{ +		CharReader reader("[r=50,,t=70, b=70,g=60]"); +		auto res = VariantReader::parseObject(reader, logger); +		ASSERT_FALSE(res.first); +	}  }  TEST(VariantReader, parseCardinality)  | 
