OSDN Git Service

drm_hwcomposer: Fix comment on worker_test
authorRhys Kidd <rhyskidd@gmail.com>
Mon, 26 Feb 2018 06:17:42 +0000 (01:17 -0500)
committerRobert Foss <robert.foss@collabora.com>
Wed, 28 Feb 2018 10:58:17 +0000 (11:58 +0100)
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>
tests/worker_test.cpp

index 38f91db..82523f0 100644 (file)
@@ -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;