diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-05-28 03:12:05 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-05-28 03:12:05 +0000 |
commit | 6220136528a29e96838bf6e18ea81dad9995cecc (patch) | |
tree | 62d78b6f2b3873de7c078a44a0f7b294e68cdd7e /init/rlimit_parser_test.cpp | |
parent | 8c2ad73742ead5dd9cec3ac78be9ca002ca8ee38 (diff) | |
parent | 0e68ab18fbef221e1a18fbf63babfd5d17bf3b2c (diff) |
Snap for 5608795 from 0e68ab18fbef221e1a18fbf63babfd5d17bf3b2c to rvc-release
Change-Id: I43f1c8b8baeaab87a6a5eb0d4821df44124bb622
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) { |