Github user eiri commented on the pull request:

    https://github.com/apache/couchdb-chttpd/pull/106#issuecomment-196317473
  
    @kxepal Well, no. Try to change a match in any of the tests and they'll 
keep passing.
    
    Fixtures accept either a list of the test objects or an instantinator, 
that'd take setup's return and return the list of the test objects. A test 
object is a function that, been executed, either returns any value and then 
asserted to be true or throws an exception and asserted to be false.
    
    Here we are passing a list of the function, i.e. test objects and each of 
them executes `?_assert...` macros. That macros just returns tuple `{?LINE, 
fun() -> ?assert...}` and that treated as a positive assertion, because it is 
not an exception.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to