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

Commit 2647200f authored by Leon Scroggins's avatar Leon Scroggins Committed by Automerger Merge Worker
Browse files

Merge "Assert the errors size to 1 for case SetDisplayBrightness" into main am: 9e65f0a0

parents 2b4d9072 9e65f0a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1845,7 +1845,7 @@ TEST_P(GraphicsComposerAidlCommandTest, SetDisplayBrightness) {
        writer.setDisplayBrightness(getPrimaryDisplayId(), /*brightness*/ 0.5f, -1.f);
        execute();
        const auto errors = mReader.takeErrors();
        EXPECT_EQ(1, errors.size());
        ASSERT_EQ(1, errors.size());
        EXPECT_EQ(IComposerClient::EX_UNSUPPORTED, errors[0].errorCode);
        GTEST_SUCCEED() << "SetDisplayBrightness is not supported";
        return;