Initialize libsodium in the gtest suite.
This commit is contained in:
parent
c9a2eea5e2
commit
c75d6bd0fa
|
@ -1,6 +1,8 @@
|
|||
#include "gtest/gtest.h"
|
||||
#include "sodium.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
assert(sodium_init() != -1);
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue