review/tests/sample_data.py @ 638009474a3b
api: Don't crash if the diff has no lines (in case of merge for instance)
author |
Benoît Allard <benoit@aeteurope.nl> |
date |
Mon, 23 Jan 2012 15:01:27 +0100 |
parents |
dff2e396a30f |
children |
(none) |
log = [
{ 'file_one': 'hello\nworld\nfirst\ncommit',
'file_two': 'this is another test file',
'long_file': 'a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\no\np\nq\nr\ns\nt',
'always_changing': 'this\nfile\nalways\nchanges',
'always_changing2': 'this\nfile\nalways\nchanges',
},
{ 'file_one': 'hello again\nworld\nfoo\nbar',
'file_three': 'this is a new file\nfor testing\npurposes\nonly',
'test_dir/test_file': 'this file is inside\nof a directory\n\nponies!',
'long_file': 'a\nb\nc\nd\ne\nf\nX\nh\ni\nj\nk\nl\nY\no\np\nq\nr\ns\nt',
'always_changing': 'THIS\nFILE\nALWAYS\nCHANGES',
'always_changing2': 'THIS\nFILE\nALWAYS\nCHANGES',
},
]