chronos-tachyon / googletest-bazel

Fork of googletest that uses bazel.build
https://github.com/google/googletest
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

test void method using gooogetest #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

i only know how to test such fuction whose return type is int char
but if return type is void , how will we goona test it.
i tried to search but didn't find anything

i only find is one line void.assert()

Original issue reported on code.google.com by ank...@gmail.com on 25 Jun 2014 at 5:43