test/state: fix some *_{is,are}_active() tests
authorRan Benita <ran234@gmail.com>
Sat, 11 Jan 2014 14:56:20 +0000 (16:56 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 11 Jan 2014 15:01:39 +0000 (17:01 +0200)
commit4841ea0c299cf98763bb35a2440213a5ddc569e0
tree5948e8e3de3463e3690775d4659eccb87d1db637
parent31430670df468ee90e260e006e277074a2a9319f
test/state: fix some *_{is,are}_active() tests

These functions also return -1 on invalid input. The original tests
didn't check that, but used !tests instead. Since then we've changed
them, but some were missed, and for some we forgot to remove the ! (or
you can say they were extra clever).

Signed-off-by: Ran Benita <ran234@gmail.com>
test/state.c