mirror of
https://github.com/golang/go.git
synced 2025-10-30 16:20:58 +00:00
suffixarray: fix construction bug
Previously, group numbers were updated while being read, sometimes leading to inconsistencies. R=gri, gri1 CC=golang-dev https://golang.org/cl/4121045
This commit is contained in:
parent
61978aa579
commit
d93b2f384d
2 changed files with 24 additions and 12 deletions
|
|
@ -99,6 +99,12 @@ var testCases = []testCase{
|
|||
"to (come|the)?",
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"godoc simulation",
|
||||
"package main\n\nimport(\n \"rand\"\n ",
|
||||
[]string{},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue