diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2005-03-07 20:42:00 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2005-03-07 20:42:00 +0000 |
| commit | f7d78d8fb4010449b0e49e86dc48bd61e5fd0296 (patch) | |
| tree | bd478e10078d91e36e25a6183bbcbe4c372eba06 /tests | |
| parent | e46b388588cde583fc611e4c2329d83b931c3c78 (diff) | |
use fail_unless since fail_if didn't exist in check 0.8.x
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/random_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/random_tests.c b/tests/random_tests.c index c5c32ead..b4b27d3e 100644 --- a/tests/random_tests.c +++ b/tests/random_tests.c @@ -174,8 +174,8 @@ START_TEST(test05_xsi_type) stmt->AuthnContext->AuthnContextClassRef = g_strdup("urn:toto"); printf("%s\n", lasso_node_dump(LASSO_NODE(assertion))); - fail_if(strstr(lasso_node_dump(LASSO_NODE(assertion)), - "xsi:type=\"lib:AuthnContextType\"") != NULL, + fail_unless(strstr(lasso_node_dump(LASSO_NODE(assertion)), + "xsi:type=\"lib:AuthnContextType\"") == NULL, "AuthnContext got a xsi:type"); fail_unless(strstr(lasso_node_dump(LASSO_NODE(assertion)), "xsi:type=\"lib:AuthenticationStatementType\"") != NULL, |
