summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2018-02-26 01:17:42 -0500
committerRobert Foss <robert.foss@collabora.com>2018-02-28 11:58:17 +0100
commitc7a6d27627aa17944f1f78700cf2d95c8db5d803 (patch)
treeed8d75f35a0d6cd706313744399665230f4db5a0
parent8428e6a2c3734950af841f97a0c5c48838df086a (diff)
drm_hwcomposer: Fix comment on worker_test
Reflect the boolean logic of the accompanying code, which is run after Worker.InitWorker() has completed in test setup. Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Signed-off-by: Robert Foss <robert.foss@collabora.com>
-rw-r--r--tests/worker_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/worker_test.cpp b/tests/worker_test.cpp
index 38f91db..82523f0 100644
--- a/tests/worker_test.cpp
+++ b/tests/worker_test.cpp
@@ -66,7 +66,7 @@ struct WorkerTest : public testing::Test {
};
TEST_F(WorkerTest, test_worker) {
- // already isInitialized so should fail
+ // already isInitialized so should succeed
ASSERT_TRUE(worker.initialized());
int val = worker.value;