summaryrefslogtreecommitdiff
path: root/backend/tests/slackpkg-test.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-02-27 09:51:29 +0100
committerEugen Wissner <belka@caraus.de>2026-02-27 09:51:29 +0100
commit2c65a2c6b02924df720f55c6e96e2e201d404c0c (patch)
treed5103d1d2fa92099a71553d4523138617c1e0bbd /backend/tests/slackpkg-test.cc
parent5875f6ac9ad2191eb761157fb94cb73bc671a9f0 (diff)
downloadkatja-2c65a2c6b02924df720f55c6e96e2e201d404c0c.tar.gz
Rename Glib primitive types to standard C types
Diffstat (limited to 'backend/tests/slackpkg-test.cc')
-rw-r--r--backend/tests/slackpkg-test.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/backend/tests/slackpkg-test.cc b/backend/tests/slackpkg-test.cc
index 09c4142..bc2e227 100644
--- a/backend/tests/slackpkg-test.cc
+++ b/backend/tests/slackpkg-test.cc
@@ -1,3 +1,8 @@
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
+ */
#include "slackpkg.h"
using namespace slack;
@@ -5,7 +10,7 @@ using namespace slack;
static void
slack_test_slackpkg_construct()
{
- auto slackpkg = new Slackpkg ("some", "mirror", 1, NULL, NULL);
+ auto slackpkg = new Slackpkg ("some", "mirror", 1, nullptr, nullptr);
g_assert_cmpstr(slackpkg->get_name (), ==, "some");
g_assert_cmpstr(slackpkg->get_mirror (), ==, "mirror");
@@ -17,7 +22,7 @@ slack_test_slackpkg_construct()
int main(int argc, char *argv[])
{
- g_test_init(&argc, &argv, NULL);
+ g_test_init(&argc, &argv, nullptr);
g_test_add_func("/slack/slackpkg/construct", slack_test_slackpkg_construct);