tests: Correct comment for qdict_array_split test
PATCH 1/1 tests: Correct comment for qdict_array_split test
The comment explaining the expected behavior was actually mistaken (the test code, however, was not). Fix this.
--- tests/check-qdict.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tests/check-qdict.c +3 -3
@@ -323,11 +323,11 @@ static void qdict_array_split_test(void)* * [ * { -* "a": 42 +* "a": 42, +* "b": 23 * }, * { -* "x": 0, -* "y": 1 +* "x": 0 * } * ] *
Signature · 1 line
1.8.5.2
Am 12.01.2014 um 17:01 hat Max Reitz geschrieben:
Quoted 4 lines
The comment explaining the expected behavior was actually mistaken (the test code, however, was not). Fix this.
Signed-off-by Max Reitz <[email protected]>
Thanks. As the original patch wasn't merged into qemu.git master yet, I have updated it with this fix.
Kevin
Quoted 17 lines · Max Reitz
The comment explaining the expected behavior was actually mistaken (the test code, however, was not). Fix this.
Signed-off-by Max Reitz <[email protected]>--- tests/check-qdict.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tests/check-qdict.c +0
-1@@ -323,11 +323,11 @@ static void qdict_array_split_test(void)* * [ * { -* "a": 42
tests/check-qdict.c static void qdict_array_split_test(void) · line 333
Quoted 10 lines
tests/check-qdict.c +3
-2+* "a": 42, +* "b": 23 * }, * { -* "x": 0, -* "y": 1 +* "x": 0 * } * ] *
Looks like this is on top of "[PATCH v7 21/24] tests: Add test for qdict_array_split()", which hasn't been committed, yet. Squash it in?