fix json testcase
@@ -2269,11 +2269,11 @@ void SerializeToJson_serialize_iterator_w_2_vars() {
test_str(json,
"{"
"\"ids\":[\"(RelX,*)\", \"(RelY,*)\"], "
- "\"vars\":[\"Y\", \"X\"], "
+ "\"vars\":[\"X\", \"Y\"], "
"\"results\":[{"
"\"ids\":[\"(RelX,ObjA)\", \"(RelY,ObjC)\"], "
"\"subjects\":[0, 0], "
- "\"vars\":[\"ObjC\", \"ObjA\"], "
+ "\"vars\":[\"ObjA\", \"ObjC\"], "
"\"is_set\":[true, true], "
"\"entities\":["
"\"Foo\""
@@ -2282,7 +2282,7 @@ void SerializeToJson_serialize_iterator_w_2_vars() {
"}, {"
"\"ids\":[\"(RelX,ObjB)\", \"(RelY,ObjD)\"], "
"\"subjects\":[0, 0], "
- "\"vars\":[\"ObjD\", \"ObjB\"], "
+ "\"vars\":[\"ObjB\", \"ObjD\"], "
"\"is_set\":[true, true], "
"\"entities\":["
"\"Bar\""
