aboutsummaryrefslogtreecommitdiff
path: root/tests/test-actions.cpp
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-16 13:06:08 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-08 18:30:04 +0100
commit7f380782f57089b97a04125f18d61da05292d2ba (patch)
tree598701a52e7dda0954f62ee17432bc337967b8c4 /tests/test-actions.cpp
parentb7df5a9578ab32ac3c67fc8e0c0490d8bb286fb1 (diff)
downloadayatana-indicator-datetime-7f380782f57089b97a04125f18d61da05292d2ba.tar.gz
ayatana-indicator-datetime-7f380782f57089b97a04125f18d61da05292d2ba.tar.bz2
ayatana-indicator-datetime-7f380782f57089b97a04125f18d61da05292d2ba.zip
Fix cppcheck errors/warnings
Diffstat (limited to 'tests/test-actions.cpp')
-rw-r--r--tests/test-actions.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-actions.cpp b/tests/test-actions.cpp
index 09f3a5d..8316357 100644
--- a/tests/test-actions.cpp
+++ b/tests/test-actions.cpp
@@ -36,7 +36,6 @@ class ActionsFixture: public StateFixture
Appointment a1; // an alarm clock appointment
a1.color = "red";
- a1.summary = "Alarm";
a1.summary = "http://www.example.com/";
a1.uid = "example";
a1.type = Appointment::ALARM;
@@ -44,10 +43,9 @@ class ActionsFixture: public StateFixture
Appointment a2; // a non-alarm appointment
a2.color = "green";
- a2.summary = "Other Text";
a2.summary = "http://www.monkey.com/";
a2.uid = "monkey";
- a1.type = Appointment::EVENT;
+ a2.type = Appointment::EVENT;
a2.begin = a2.end = tomorrow;
return std::vector<Appointment>({a1, a2});