Fix for Go weekly.2012-01-15.
This commit is contained in:
parent
958b406e0e
commit
00f2f1a9e4
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ func TestNew(t *testing.T) {
|
|||
for _, c := range u {
|
||||
var present bool
|
||||
for _, a := range StdChars {
|
||||
if int(a) == c {
|
||||
if rune(a) == c {
|
||||
present = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue