diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-05-12 21:31:33 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-05-13 18:45:54 +0900 |
commit | 67742a9fa833e82ac06bc664c5d0495ce7408b08 (patch) | |
tree | 2bf08e8672d24cbf3f33b429d1a93ecb20c75544 /driver/lexer_test.go | |
parent | Use go fmt instead of gofmt (diff) | |
download | tre-67742a9fa833e82ac06bc664c5d0495ce7408b08.tar.gz tre-67742a9fa833e82ac06bc664c5d0495ce7408b08.tar.xz |
Rename fields of driver.Token
Diffstat (limited to 'driver/lexer_test.go')
-rw-r--r-- | driver/lexer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/lexer_test.go b/driver/lexer_test.go index 0156ef8..1d0e887 100644 --- a/driver/lexer_test.go +++ b/driver/lexer_test.go @@ -558,8 +558,8 @@ func testToken(t *testing.T, expected, actual *Token) { if actual.Mode != expected.Mode || actual.ModeName != actual.ModeName || - actual.ID != expected.ID || actual.Kind != expected.Kind || + actual.KindName != expected.KindName || !bytes.Equal(actual.Match(), expected.Match()) || actual.EOF != expected.EOF || actual.Invalid != expected.Invalid { |