Backend: Add tests to pkg/pluscode

This commit is contained in:
Theresa Gresch 2020-04-28 17:04:33 +02:00
parent 62a6ede86f
commit ddc696c650

View File

@ -96,4 +96,9 @@ func TestS2(t *testing.T) {
assert.Equal(t, "4799e3772d14", token)
})
t.Run("empty code", func(t *testing.T) {
token := S2("")
assert.Equal(t, "", token)
})
}