X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fovsdb-data.at;h=d45e07bfaf9f61565995d3abb646d3036f2c3ddf;hb=f7eaaeba017b2442edd730b929d4713ba4375b1e;hp=973696194f02dabae71404d342002a90a869ed99;hpb=656833530941ef21c1a59656a5572b5155d0c302;p=sliver-openvswitch.git diff --git a/tests/ovsdb-data.at b/tests/ovsdb-data.at index 973696194..d45e07bfa 100644 --- a/tests/ovsdb-data.at +++ b/tests/ovsdb-data.at @@ -260,6 +260,10 @@ OVSDB_CHECK_POSITIVE_CPY([uuid atom must be expressed as JSON array], [[parse-atoms '["uuid"]' '["550e8400-e29b-41d4-a716-446655440000"]']], [[syntax ""550e8400-e29b-41d4-a716-446655440000"": syntax error: expected ["uuid", ]]]) +OVSDB_CHECK_POSITIVE_CPY([named-uuid requires symbol table], + [parse-atoms '[["uuid"]]' '[["named-uuid", "x"]]'], + [[syntax "["named-uuid","x"]": syntax error: expected ["uuid", ]]]) + OVSDB_CHECK_NEGATIVE([empty string atom must be quoted], [[parse-atom-strings '["string"]' '']], [An empty string is not valid as input; use "" to represent the empty string])