slash roleypoly yay
This commit is contained in:
parent
02f5075d3b
commit
607d7e121c
22 changed files with 394 additions and 66 deletions
|
@ -15,3 +15,8 @@ func TestHeadTitle(t *testing.T) {
|
|||
func TestJ(t *testing.T) {
|
||||
assert.Equal(t, "/a/b/c", utils.J("a", "b", "c"))
|
||||
}
|
||||
|
||||
func TestOr(t *testing.T) {
|
||||
assert.Equal(t, "a", utils.Or("a", "b"))
|
||||
assert.Equal(t, "b", utils.Or("", "b"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue