| 12 | using namespace snowhouse; |
| 13 | |
| 14 | static std::string cleanup(const std::string& s) |
| 15 | { |
| 16 | auto outs = std::regex_replace(s, std::regex("[ \t\n]+"), " "); |
| 17 | outs = std::regex_replace(outs, std::regex("^[ \t\n]+"), ""); |
| 18 | outs = std::regex_replace(outs, std::regex("[ \t\n]+$"), ""); |
| 19 | return outs; |
| 20 | } |
| 21 | |
| 22 | static void test_setting(void) |
| 23 | { |
no outgoing calls