Mistake in examples on front page and documentation?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Mistake in examples on front page and documentation?

RhysU
Does the example code given on the front page contain an incorrect string equality check?

Using fct_chk_str_eq("wild", "wild"); causes compilation errors.  Digging into the documentation and trying fct_chk_eq_str("wild", "wild"); seems to work.

Thanks,
Rhys
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Mistake in examples on front page and documentation?

RhysU
Likewise, on the Getting Started page, should it be FCT_QTEST_END() for the daka durka case?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Mistake in examples on front page and documentation?

Ian Blumel
Administrator
In reply to this post by RhysU
> Does the example code given on the front page contain an incorrect string
> equality check?
>
> Using fct_chk_str_eq("wild", "wild"); causes compilation errors.  Digging
> into the documentation and trying fct_chk_eq_str("wild", "wild"); seems to
> work.

Yup, that str_eq was an earlier incarnation, thanks for mentioning it.
It's all fixed.

--
Ian Blumel
www.wildbearsoftware.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Mistake in examples on front page and documentation?

Ian Blumel
Administrator
In reply to this post by RhysU
On 7 October 2010 10:14, RhysU [via fctx]
<[hidden email]> wrote:
> Likewise, on the Getting Started page, should it be FCT_QTEST_END() for the
> daka durka case?

Thanks again. This has been fixed too.

--
Ian Blumel
www.wildbearsoftware.com
Loading...