Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for compound matching on Output matchers
This is the issue reported in #1391 - expecting like expect { puts "foobar" } .to output.to_stdout(/foo/) .and output.to_stdout(/bar/) fails, because the two matchers get nested, and inner matcher catches the stream write, hiding it from the outer one.
- Loading branch information