mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'juliancoffee/fix_localization_tests' into 'master'
Fix off-by-one error in localization tests See merge request veloren/veloren!2187
This commit is contained in:
commit
1489fccbe3
@ -421,8 +421,8 @@ mod tests {
|
||||
},
|
||||
};
|
||||
|
||||
if line >= e.final_start_line()
|
||||
&& line < e.final_start_line() + e.lines_in_hunk()
|
||||
if line + 1 >= e.final_start_line()
|
||||
&& line + 1 < e.final_start_line() + e.lines_in_hunk()
|
||||
{
|
||||
state.chuck_line_range = Some((
|
||||
e.final_start_line(),
|
||||
|
Loading…
Reference in New Issue
Block a user