appease the linting gods

This commit is contained in:
Adam Scarr 2018-06-11 12:02:50 +10:00
parent f98f07b765
commit 3e20a3b924
2 changed files with 5 additions and 4 deletions

View File

@ -3,9 +3,10 @@ package goparsify
import ( import (
"testing" "testing"
"github.com/stretchr/testify/require"
"os"
"fmt" "fmt"
"os"
"github.com/stretchr/testify/require"
) )
func TestSeq(t *testing.T) { func TestSeq(t *testing.T) {

View File

@ -184,7 +184,7 @@ func parseMatcher(matcher string) (alphabet string, ranges [][]rune) {
i += 2 // we just consumed 2 bytes: escape and the char i += 2 // we just consumed 2 bytes: escape and the char
} else { } else {
alphabet += string(runes[i]) alphabet += string(runes[i])
i +=1 i++
} }
} }