[ library(test_util) | Reference Manual | Alphabetic Index ]

should_output(+Goal,+ExpectedText,+TestName)

Run the goal Goal, capturing any output to the 'output' stream, and complain if it doesn't match ExpectedText. For details see should_output/2.

Modules

This predicate is sensitive to its module context (tool predicate, see @/2).

See Also

should_output / 2