Skip to content

Commit

Permalink
Adjust test data
Browse files Browse the repository at this point in the history
  • Loading branch information
ueno committed Sep 15, 2013
1 parent da05810 commit ec69d2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conversions-sentence.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"segments_size": 1,
"segments_cursor_pos": 0,
"output": "",
"candidates_size": 8,
"candidates_size": 7,
"input_cursor_pos": -1
},
{
Expand Down
1 change: 1 addition & 0 deletions tests/lib/test-utils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ namespace Kkc.TestUtils {
assert (context.segments.cursor_pos == expected_segments_cursor_pos);
}

print ("%s %d\n", context.input, context.candidates.size);
if (expected.has_member ("candidates_size")) {
var expected_candidates_size = expected.get_int_member ("candidates_size");
assert (context.candidates.size == expected_candidates_size);
Expand Down

0 comments on commit ec69d2d

Please sign in to comment.