aboutsummaryrefslogtreecommitdiff
path: root/grammar/symbol_test.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-07-31 16:30:56 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-07-31 16:30:56 +0900
commit7db2c43fb274dcd1302f10fe20825b27f08ea5be (patch)
tree27c3a2bf2de6c0793a841682d4e33875d8e570bc /grammar/symbol_test.go
parentDetect duplicate names between terminals and non-terminals (diff)
downloadurubu-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.go4
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)
}