test/test_util.h
author Roker <roker@pep-project.org>
Tue, 02 May 2017 08:48:35 +0200
branchENGINE-198
changeset 1741 5bd49bd73192
parent 1656 ea7d229bed3f
child 1812 925ad845e3ec
permissions -rw-r--r--
add more assertions
     1 #include <string>
     2 
     3 // reads a whole file and returns it as std::string
     4 // throws std::runtime_error() if the file cannot be read. Empty file is not an error.
     5 std::string slurp(const std::string& filename);