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 e690bf6d6..6a16d3b57 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().as_string); - EXPECT_EQ(0, result.error().as_errno); + EXPECT_EQ(expected_result, result.error().message()); + EXPECT_EQ(0, result.error().code()); } TEST(rlimit, RlimitSuccess) { |