From ae72fd7bf8d781b0fd5fdccd870b6018d02ffed4 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sun, 23 Nov 2014 11:39:56 -0500 Subject: src/test/regression.c - fix compile with MSVC --- src/test/regression.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/regression.c b/src/test/regression.c index 133ca39b..e18e1883 100644 --- a/src/test/regression.c +++ b/src/test/regression.c @@ -3581,6 +3581,10 @@ void test_attach() if (c) icalcomponent_free(c); +} + +void test_attach_url() +{ static const char test_icalcomp_str_attachwithurl[] = "BEGIN:VALARM\r\n" "ATTACH:foofile\r\n" @@ -3849,6 +3853,7 @@ int main(int argc, char *argv[]) test_run("Create Components with vaargs", create_new_component_with_va_args, do_test, do_header); test_run("Test Memory", test_memory, do_test, do_header); test_run("Test Attachment", test_attach, do_test, do_header); + test_run("Test Attachment with URL", test_attach, do_test, do_header); test_run("Test icalcalendar", test_calendar, do_test, do_header); test_run("Test Dirset", test_dirset, do_test, do_header); test_run("Test vCal to iCal conversion", test_vcal, do_test, do_header); -- cgit v1.2.1