Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe4c415c authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

resolv_integration_test: handle toString changes am: 1bf24426

parents ab04ecf5 1bf24426
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -140,11 +140,12 @@ class DnsResolverBinderTest : public NetNativeTestBase {

                        // The binder_to_string format is changed over time to include more
                        // information. To keep it working on Q/R/..., remove what has been
                        // added for now.
                        // added for now. TODO(b/266248339)
                        std::string output = match[1].str();
                        using android::base::StringReplace;
                        output = StringReplace(output, "(null)", "", /*all=*/true);
                        output = StringReplace(output, "<unimplemented>", "", /*all=*/true);
                        output = StringReplace(output, "<interface>", "", /*all=*/true);
                        return output == td.output;
                    });
            EXPECT_TRUE(found) << "Didn't find line '" << td.output << "' in dumpsys output.";