Skip to content

Commit

Permalink
Prodyce more informative logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Dec 31, 2024
1 parent 3120a1e commit 7bb34b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Tests/base/NSCalendarDate/test02.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ int main()
locale: myLocale] isEqualToString: @"1974"],
"%%Y format works in description");

PASS([[myBirthday descriptionWithCalendarFormat: @"%Z"
locale: myLocale] isEqualToString: @"MET"],
"%%Z format works in description");
PASS_EQUAL([myBirthday
descriptionWithCalendarFormat: @"%Z" locale: myLocale],
@"MET", "%%Z format works in description")

PASS([[myBirthday descriptionWithCalendarFormat: @"%z"
locale: myLocale] isEqualToString: @"+0100"],
Expand All @@ -192,9 +192,9 @@ int main()
locale: myLocale] isEqualToString: @"13%00%00"],
"%%H%%%%%%M%%%%%%S format works in description");

PASS([[myBirthday descriptionWithCalendarFormat: @"%H:%M (%Z)"
locale: myLocale] isEqualToString: @"13:00 (MET)"],
"%%H%%M format works in description");
PASS_EQUAL([myBirthday
descriptionWithCalendarFormat: @"%H:%M (%Z)" locale: myLocale],
@"13:00 (MET)", "%%H%%M format works in description")

PASS([[myBirthday descriptionWithCalendarFormat: @"%R"
locale: myLocale] isEqualToString: @"13:00"],
Expand Down

0 comments on commit 7bb34b7

Please sign in to comment.