blob: 762043659b5af97253e3a3836fb8d65d6a5dd0ec (
plain) (
tree)
|
|
package main
import (
"testing"
)
func TestUpper(t *testing.T) {
r1 := uppercaseScheme("{ssha}ss4654654")
if r1 != "{SSHA}ss4654654" {
t.Fatal(r1)
}
r2 := uppercaseScheme("{ssha512}fdbgf6546")
if r2 != "{SSHA512}fdbgf6546" {
t.Fatal(r2)
}
}
|