utf8rewind  1.2.0
Cross-platform library for UTF-8 encoded text
helpers-errors.hpp
Go to the documentation of this file.
1 #pragma once
2 
10 #define EXPECT_ERROREQ(_expected, _actual) EXPECT_PRED_FORMAT2(::helpers::CompareErrors, _expected, _actual)
11 
12 namespace helpers {
13 
14  std::string error(int32_t error);
15 
16  ::testing::AssertionResult CompareErrors(
17  const char* expressionExpected, const char* expressionActual,
18  int32_t errorExpected, int32_t errorActual);
19 
20 };
21