diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2017-04-05 01:18:19 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2017-04-05 01:18:19 -0700 |
commit | df0725ee30698f6c14f6788ed5b5121abbb008c9 (patch) | |
tree | 38a6af4ec69afe95ca6ade6ec728a3411fd4fc36 /test/test_properties.c | |
parent | 99b13923e34ed2e957a75d8fd237dc413ed6ab30 (diff) |
Use setup and teardown in choices suite
Diffstat (limited to 'test/test_properties.c')
-rw-r--r-- | test/test_properties.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_properties.c b/test/test_properties.c index 7a9ca5e..91982e3 100644 --- a/test/test_properties.c +++ b/test/test_properties.c @@ -133,6 +133,7 @@ static theft_trial_res prop_positions_should_match_characters_in_string(char *ne } } + /* Matching characters must be in returned positions */ for (int i = 0; i < n; i++) { if (toupper(needle[i]) != toupper(haystack[positions[i]])) { return THEFT_TRIAL_FAIL; |