diff options
Diffstat (limited to 'src/test/regression.c')
-rw-r--r-- | src/test/regression.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/test/regression.c b/src/test/regression.c index bced17ab..d52474f0 100644 --- a/src/test/regression.c +++ b/src/test/regression.c @@ -2,18 +2,9 @@ FILE: regression.c CREATOR: eric 03 April 1999 - (C) COPYRIGHT 1999 Eric Busboom <eric@civicknowledge.com> + SPDX-FileCopyrightText: 1999 Eric Busboom <eric@civicknowledge.com> - This library is free software; you can redistribute it and/or modify - it under the terms of either: - - The LGPL as published by the Free Software Foundation, version - 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html - - Or: - - The Mozilla Public License Version 2.0. You may obtain a copy of - the License at https://www.mozilla.org/MPL/ + SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0 The original author is Eric Busboom The original code is regression.c @@ -2734,13 +2725,11 @@ void test_recur_parser() icalmemory_free_buffer(v); } - static int test_juldat_caldat_instance(long year, int month, int day) { struct icaltimetype t; struct ut_instant originalInstant; - memset(&t, 0, sizeof(t)); t.year = year; t.month = month; @@ -2817,7 +2806,6 @@ void test_juldat_caldat() { ok("juldat and caldat return the expected values for random input values", failed == 0); } - char *ical_strstr(const char *haystack, const char *needle) { return strstr(haystack, needle); @@ -5055,7 +5043,6 @@ static void test_implicit_dtend_duration(void) int_is("icaltime_compare(start, end)", 0, icaltime_compare(start, end)); icalcomponent_free(c); - c = icalcomponent_vanew( ICAL_VCALENDAR_COMPONENT, icalcomponent_vanew( |