[Git][NTPsec/ntpsec][working] Fixed indentation.

Ian Bruene gitlab at mg.gitlab.com
Wed Jul 4 17:36:25 UTC 2018


Ian Bruene pushed to branch working at NTPsec / ntpsec


Commits:
7e802a32 by Ian Bruene at 2018-07-04T17:36:20Z
Fixed indentation.

- - - - -


1 changed file:

- tests/libntp/ntp_calendar.c


Changes:

=====================================
tests/libntp/ntp_calendar.c
=====================================
--- a/tests/libntp/ntp_calendar.c
+++ b/tests/libntp/ntp_calendar.c
@@ -290,16 +290,16 @@ TEST(calendar, DayJoin1) {
 TEST(calendar, DaysInYears1) {
     // Test positive less than one gregorian cycle of years
     TEST_ASSERT_EQUAL(109572, ntpcal_days_in_years(300));
-	// Test positive one gregorian cycle of years
-	TEST_ASSERT_EQUAL(146097, ntpcal_days_in_years(400));
-	// Test positive greater than one gregorian cycle of years
-	TEST_ASSERT_EQUAL(182621, ntpcal_days_in_years(500));
+    // Test positive one gregorian cycle of years
+    TEST_ASSERT_EQUAL(146097, ntpcal_days_in_years(400));
+    // Test positive greater than one gregorian cycle of years
+    TEST_ASSERT_EQUAL(182621, ntpcal_days_in_years(500));
     // Test negative less than one gregorian cycle of years
     TEST_ASSERT_EQUAL(-109573, ntpcal_days_in_years(-300));
-	// Test negative one gregorian cycle of years
-	TEST_ASSERT_EQUAL(-146097, ntpcal_days_in_years(-400));
-	// Test negative greater than one gregorian cycle of years
-	TEST_ASSERT_EQUAL(-182622, ntpcal_days_in_years(-500));
+    // Test negative one gregorian cycle of years
+    TEST_ASSERT_EQUAL(-146097, ntpcal_days_in_years(-400));
+    // Test negative greater than one gregorian cycle of years
+    TEST_ASSERT_EQUAL(-182622, ntpcal_days_in_years(-500));
 }
 
 TEST(calendar, EdateToEradays1) {
@@ -320,9 +320,9 @@ TEST(calendar, EtimeToSeconds1) {
 TEST(calendar, TmToRd1) {
     struct tm utm;
 
-	utm.tm_year = 10;
-	utm.tm_mon = 5;
-	utm.tm_mday = 1;
+    utm.tm_year = 10;
+    utm.tm_mon = 5;
+    utm.tm_mday = 1;
     TEST_ASSERT_EQUAL(697399, ntpcal_tm_to_rd(&utm));
 }
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7e802a32c771e0b7bc9117115abba7cd48e9ae5f

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7e802a32c771e0b7bc9117115abba7cd48e9ae5f
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180704/8eb5163c/attachment.html>


More information about the vc mailing list