mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-29 09:05:53 +00:00
Lint
This commit is contained in:
1 parent
9dbf6b02d2
commit
7a2bc2cada
24 files changed
+478
-405
No files matched your search
@@ -6,14 +6,14 @@ func TestParseRange(t *testing.T) {
|
||||
{
|
||||
i := ".."
|
||||
r, _ := ParseRange(&i)
|
||||
if r.begin != RANGE_ELLIPSIS || r.end != RANGE_ELLIPSIS {
|
||||
if r.begin != rangeEllipsis || r.end != rangeEllipsis {
|
||||
t.Errorf("%s", r)
|
||||
}
|
||||
}
|
||||
{
|
||||
i := "3.."
|
||||
r, _ := ParseRange(&i)
|
||||
if r.begin != 3 || r.end != RANGE_ELLIPSIS {
|
||||
if r.begin != 3 || r.end != rangeEllipsis {
|
||||
t.Errorf("%s", r)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user