assert_has multimethod
Methods
- assert_has(actual:Any, expected:Any, title:Str=null) Source: autoload/test.ngs:201
Assert having specific element or substring (checks with "has"). Throws TestFail. Returns
actualExample
assert_has("abc", "xyz") # Throws TestFail assert_has([1,2,3], 3) # OK