@@ -6,19 +6,19 @@ class CvsCommitsTest < OhlohScm::Test
66 def test_commits
77 with_cvs_repository ( 'cvs' , 'simple' ) do |cvs |
88
9- assert_equal [ '2006/06/29 16:21:07' ,
10- '2006/06/29 18:14:47' ,
11- '2006/06/29 18:45:29' ,
12- '2006/06/29 18:48:54' ,
13- '2006/06/29 18:52:23' ] , cvs . commits . collect { |c | c . token }
14-
15- assert_equal [ '2006/06/29 18:48:54' ,
16- '2006/06/29 18:52:23' ] ,
17- cvs . commits ( :after => '2006/06/29 18:45:29' ) . collect { |c | c . token }
9+ assert_equal [ '2006-06-29 16:21:07' ,
10+ '2006-06-29 18:14:47' ,
11+ '2006-06-29 18:45:29' ,
12+ '2006-06-29 18:48:54' ,
13+ '2006-06-29 18:52:23' ] , cvs . commits . collect { |c | c . token }
1814
1915 # Make sure we are date format agnostic (2008/01/01 is the same as 2008-01-01)
20- assert_equal [ '2006/06/29 18:48:54' ,
21- '2006/06/29 18:52:23' ] ,
16+ assert_equal [ '2006-06-29 18:48:54' ,
17+ '2006-06-29 18:52:23' ] ,
18+ cvs . commits ( :after => '2006/06/29 18:45:29' ) . collect { |c | c . token }
19+
20+ assert_equal [ '2006-06-29 18:48:54' ,
21+ '2006-06-29 18:52:23' ] ,
2222 cvs . commits ( :after => '2006-06-29 18:45:29' ) . collect { |c | c . token }
2323
2424 assert_equal [ ] , cvs . commits ( :after => '2006/06/29 18:52:23' ) . collect { |c | c . token }
0 commit comments