Index: trunk/extensions/CodeReview/tests/DiffHighlighterTest.php |
— | — | @@ -7,6 +7,7 @@ |
8 | 8 | CodeDiffHighlighter::parseChunkDelimiter( |
9 | 9 | "@@ -1,3 +1,4 @@\r\n" |
10 | 10 | ); |
| 11 | + $this->assertTrue( true, 'Managed to parse a chunk with \r\n' ); |
11 | 12 | } catch( Exception $e ) { |
12 | 13 | $this->fail( "parseChunkDelimiter() could not parse a chunk finishing with '\\r\\n' This is happening on Windows" ); |
13 | 14 | } |
— | — | @@ -17,6 +18,7 @@ |
18 | 19 | CodeDiffHighlighter::parseChunkDelimiter( |
19 | 20 | "@@ -1,3 +1,4 @@\n" |
20 | 21 | ); |
| 22 | + $this->assertTrue( true, 'Managed to parse a chunk with \n' ); |
21 | 23 | } catch( Exception $e ) { |
22 | 24 | $this->fail( "parseChunkDelimiter() could not parse a chunk finishing with '\\n' This is happening on Unix systems" ); |
23 | 25 | } |