From 1f9ac79445cb05782bf149963c9c4fa219a0a4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 23 Jul 2024 09:09:25 +0200 Subject: [PATCH] tests: Use decimal values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't rely on that anywhere anyway. Co-authored-by: Tomi Lähteenmäki Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/79 --- tests/data/parent/base.json | 6 +++--- tests/data/parent/test.json | 8 ++++---- tests/data/user-config/feedbackd/themes/custom.json | 4 ++-- tests/data/xdg-data/feedbackd/themes/replace.json | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/data/parent/base.json b/tests/data/parent/base.json index 650d625..4f1a93b 100644 --- a/tests/data/parent/base.json +++ b/tests/data/parent/base.json @@ -7,12 +7,12 @@ { "type" : "Dummy", "event-name" : "test-dummy-00", - "duration" : 0x01 + "duration" : 1 }, { "type" : "Dummy", "event-name" : "test-dummy-01", - "duration" : 0x02 + "duration" : 2 } ] }, @@ -22,7 +22,7 @@ { "type" : "Dummy", "event-name" : "test-dummy-00", - "duration" : 0x03 + "duration" : 3 } ] } diff --git a/tests/data/parent/test.json b/tests/data/parent/test.json index 60f863e..6dd3dc1 100644 --- a/tests/data/parent/test.json +++ b/tests/data/parent/test.json @@ -7,12 +7,12 @@ { "type" : "Dummy", "event-name" : "test-dummy-00", - "duration" : 0x10 + "duration" : 16 }, { "type" : "Dummy", "event-name" : "test-dummy-10", - "duration" : 0x20 + "duration" : 32 } ] }, @@ -22,7 +22,7 @@ { "type" : "Dummy", "event-name" : "test-dummy-10", - "duration" : 0x30 + "duration" : 48 } ] }, @@ -32,7 +32,7 @@ { "type" : "Dummy", "event-name" : "test-dummy-10", - "duration" : 0x40 + "duration" : 64 } ] } diff --git a/tests/data/user-config/feedbackd/themes/custom.json b/tests/data/user-config/feedbackd/themes/custom.json index d208710..65df22f 100644 --- a/tests/data/user-config/feedbackd/themes/custom.json +++ b/tests/data/user-config/feedbackd/themes/custom.json @@ -8,12 +8,12 @@ { "event-name" : "test-dummy-0", "type" : "Dummy", - "duration" : 0x10 + "duration" : 16 }, { "event-name" : "test-dummy-2", "type" : "Dummy", - "duration" : 0x30 + "duration" : 48 } ] } diff --git a/tests/data/xdg-data/feedbackd/themes/replace.json b/tests/data/xdg-data/feedbackd/themes/replace.json index 1fc0e26..a2ddf06 100644 --- a/tests/data/xdg-data/feedbackd/themes/replace.json +++ b/tests/data/xdg-data/feedbackd/themes/replace.json @@ -8,12 +8,12 @@ { "event-name" : "test-dummy-0", "type" : "Dummy", - "duration" : 0x10 + "duration" : 16 }, { "event-name" : "test-dummy-2", "type" : "Dummy", - "duration" : 0x20 + "duration" : 32 } ] }