Using will_return_count with count=-1 (to always repeat return value) results in assertion failure
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. Use the macro 'will_return_count' with a count value of -1
2.
3.
What is the expected output? What do you see instead?
The documentation indicates that the specified value will always be
repeated when the count is -1. When used, the first assertion in
_will_return fires.
>>>>
assert_true(count > 0);
What version of the product are you using? On what operating system?
cmockery-0.1.2
Windows Vista/Linux
Please provide any additional information below.
Original issue reported on code.google.com by neil.a.g...@gmail.com
on 26 Oct 2008 at 7:03
Google Code Exporter commented
Original comment by stewarta...@gmail.com
on 10 Apr 2009 at 8:36
- Changed state: Started
Google Code Exporter commented
Original comment by stewarta...@gmail.com
on 10 Apr 2009 at 9:44
Google Code Exporter commented
This will be integrated into cmockery release 0.1.3.
Original comment by stewarta...@gmail.com
on 7 Jul 2009 at 7:43