Move a couple things from libkj-test into libkj proper.
This allows functions which use KJ_EXPECT and other test macros to be built without linking libkj-test, which pulls in a possibly-unwanted main() function. In particular, afl-testcase.c++ could not link in -fno-exceptions mode without this change.
Showing
c++/src/kj/test-helpers.c++
0 → 100644
Please
register
or
sign in
to comment