Skip to content
Snippets Groups Projects
Commit f59a8c2c authored by Georges Racinet's avatar Georges Racinet
Browse files

diff: adding a test reproducing error fixed by parent commit

The test location was chosen in anticipation of a future move of diff
helper classes and functions to the `hgitaly.diff`, module, as suggested in
!82 (comment 165083)
parent c4a9e761
No related branches found
No related tags found
3 merge requests!88Merged stable branch into default for release,!87Merged stable branch into default for release,!86diff: fix NameError
Pipeline #28995 passed
# Copyright 2021 Georges Racinet <georges.racinet@octobus.net>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
#
# SPDX-License-Identifier: GPL-2.0-or-later
from hgitaly.service.diff import (
CurrDiff,
Limits,
Parser,
)
def test_parser_corner_cases():
parser = Parser(Limits(), CurrDiff())
parser.parse([b""])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment