From 5a4474b4d3366898a1c3229ea96f32544d158c9e Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Fri, 1 Nov 2024 13:41:52 +0100 Subject: [PATCH] Amended some formatting. --- util/cpeutils_tests.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/cpeutils_tests.c b/util/cpeutils_tests.c index 648c384b..6e4d2cb9 100644 --- a/util/cpeutils_tests.c +++ b/util/cpeutils_tests.c @@ -230,13 +230,14 @@ Ensure (cpeutils, fs_cpe_to_uri_cpe) "cpe:/a:hp:insight_diagnostics:7.4.0.1570:-:~~online~win%3A2003~x64~")); g_free (uri_cpe); - fs_cpe = - "cpe:2.3:a:hp:insight_diagnostics:7.4.0.1570:-:*:*:online:win\\:\\:2003:x64:*"; + fs_cpe = "cpe:2.3:a:hp:insight_diagnostics:7.4.0.1570:-:*:*:online:win\\:\\:" + "2003:x64:*"; uri_cpe = fs_cpe_to_uri_cpe (fs_cpe); assert_that ( uri_cpe, is_equal_to_string ( - "cpe:/a:hp:insight_diagnostics:7.4.0.1570:-:~~online~win%3A%3A2003~x64~")); + "cpe:/" + "a:hp:insight_diagnostics:7.4.0.1570:-:~~online~win%3A%3A2003~x64~")); g_free (uri_cpe); fs_cpe = "cpe:2.3:a:hp:insight_diagnostics:7.4.0.1570:-:*:*:online:"