diff options
Diffstat (limited to 'init/rlimit_parser_test.cpp')
-rw-r--r-- | init/rlimit_parser_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/rlimit_parser_test.cpp b/init/rlimit_parser_test.cpp index 659ba8acb..e690bf6d6 100644 --- a/init/rlimit_parser_test.cpp +++ b/init/rlimit_parser_test.cpp @@ -43,8 +43,8 @@ void TestRlimitFailure(std::vector<std::string> input, const std::string& expect auto result = ParseRlimit(input); ASSERT_FALSE(result) << "input: " << input[1]; - EXPECT_EQ(expected_result, result.error_string()); - EXPECT_EQ(0, result.error_errno()); + EXPECT_EQ(expected_result, result.error().as_string); + EXPECT_EQ(0, result.error().as_errno); } TEST(rlimit, RlimitSuccess) { |