diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-01-23 17:28:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-01-24 16:46:27 +0900 |
commit | 52ebaf718e6a78297ceb0dff49815eeed28eae45 (patch) | |
tree | ccfe536719af6a105610a50d2390b8822bd2131c /test/rdoc/test_rdoc_parser_changelog.rb | |
parent | d5d1c41728d65acfb8aa2cf95f2d8ac88f271cd1 (diff) |
[ruby/rdoc] Skip non-date logs by git-log
`RDoc::Parser::ChangeLog` mis-parses ChangeLog generated by
git-log, because of too heuristic `Time.parse`.
For instance, "commit 8187228de0142d3ac7950b7d977c2849e934c637"
results in "8187-08-16", that is, day 228 in the year 8187.
https://github.com/ruby/rdoc/commit/9711e6f6d9
Diffstat (limited to 'test/rdoc/test_rdoc_parser_changelog.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_changelog.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_parser_changelog.rb b/test/rdoc/test_rdoc_parser_changelog.rb index 6a14b61ca2..eb1b5d4218 100644 --- a/test/rdoc/test_rdoc_parser_changelog.rb +++ b/test/rdoc/test_rdoc_parser_changelog.rb @@ -212,6 +212,8 @@ Mon Dec 3 20:28:02 2012 Koichi Sasada <[email protected]> change condition of using `opt_send_simple'. More method invocations can be simple. +commit\ 8187228de0142d3ac7950b7d977c2849e934c637 + Other note that will be ignored ChangeLog |