diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-07-31 16:30:56 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-07-31 16:30:56 +0900 |
commit | 7db2c43fb274dcd1302f10fe20825b27f08ea5be (patch) | |
tree | 27c3a2bf2de6c0793a841682d4e33875d8e570bc /grammar/symbol_test.go | |
parent | Detect duplicate names between terminals and non-terminals (diff) | |
download | urubu-7db2c43fb274dcd1302f10fe20825b27f08ea5be.tar.gz urubu-7db2c43fb274dcd1302f10fe20825b27f08ea5be.tar.xz |
Write terminals to a description file
Diffstat (limited to 'grammar/symbol_test.go')
-rw-r--r-- | grammar/symbol_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar/symbol_test.go b/grammar/symbol_test.go index 52e5452..fda3ddf 100644 --- a/grammar/symbol_test.go +++ b/grammar/symbol_test.go @@ -104,7 +104,7 @@ func TestSymbol(t *testing.T) { }) t.Run("texts of non-terminals", func(t *testing.T) { - ts, err := tab.getNonTerminalTexts() + ts, err := tab.nonTerminalTexts() if err != nil { t.Fatal(err) } @@ -119,7 +119,7 @@ func TestSymbol(t *testing.T) { }) t.Run("texts of terminals", func(t *testing.T) { - ts, err := tab.getTerminalTexts() + ts, err := tab.terminalTexts() if err != nil { t.Fatal(err) } |