Files
opensourcepos/build/logs/testdox.txt
Ollama 234f930079 Fix strftime directives handling and tighten test assertions
- Remove incorrect %C mapping (was mapping century to full year)
- Add special handling for %C (century), %c (datetime), %n (newline), %t (tab), %x (date)
- Add %h mapping (same as %b for abbreviated month)
- Tighten edge-case test assertions to use assertSame/assertMatchesRegularExpression
- Add tests for new directives: %C, %c, %n, %t, %x, %h
2026-03-14 23:08:39 +00:00

32 lines
1.3 KiB
Plaintext

Token_lib (Tests\Libraries\Token_lib)
[x] Render returns input string when no tokens
[x] Render handles string with percent not in date format
[x] Render handles invalid date format percent dash percent
[x] Render handles invalid date format percent y percent q percent bad
[x] Render handles string with percent a percent
[x] Render handles extremely long string
[x] Render handles string with multiple percent symbols
[x] Render handles string with only percent symbol
[x] Render preserves text with valid date tokens and no other tokens
[x] Render handles empty string
[x] Scan extracts tokens
[x] Scan extracts tokens with length
[x] Scan returns empty array for no tokens
[x] Render handles consecutive percent signs
[x] Render handles escaped percent signs
[x] Render handles unclosed braces
[x] Render handles unopened braces
[x] Render handles very long string with date
[x] Render handles multiple dates
[x] Render handles valid year format
[x] Render handles valid month format
[x] Render handles valid day format
[x] Render handles full date format
[x] Render handles percent b
[x] Render handles percent a
[x] Render handles complex percent format
[x] Render does not replace invalid format specifiers
[x] Render replaces timezone format
[x] Scan works with mixed content