mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-24 09:50:24 +00:00
Missed the test for the last commit, now fixed
This commit is contained in:
parent
cd52aaba13
commit
956b1bdb3a
1 changed files with 3 additions and 3 deletions
|
|
@ -50,15 +50,15 @@ func TestIsWordChar(t *testing.T) {
|
|||
if IsWordChar("_") == false {
|
||||
t.Errorf("IsWordChar(_) = false")
|
||||
}
|
||||
if IsWordChar("ß") == false {
|
||||
t.Errorf("IsWordChar(ß) = false")
|
||||
}
|
||||
if IsWordChar("~") == true {
|
||||
t.Errorf("IsWordChar(~) = true")
|
||||
}
|
||||
if IsWordChar(" ") == true {
|
||||
t.Errorf("IsWordChar( ) = true")
|
||||
}
|
||||
if IsWordChar("ß") == true {
|
||||
t.Errorf("IsWordChar(ß) = true")
|
||||
}
|
||||
if IsWordChar(")") == true {
|
||||
t.Errorf("IsWordChar()) = true")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue