test happy swap

This commit is contained in:
Bel LaPointe
2023-03-27 08:21:03 -06:00
parent 213fd555e4
commit c744704b63

View File

@@ -205,6 +205,10 @@ func TestServeGM(t *testing.T) {
})
t.Run("shuffle", func(t *testing.T) {
t.Error("not impl")
})
t.Run("swap", func(t *testing.T) {
t.Run("happy", func(t *testing.T) {
v01 := NewV01(ctx, nil)
v01.cfg.Quiet = true
@@ -227,10 +231,6 @@ func TestServeGM(t *testing.T) {
})
})
t.Run("swap", func(t *testing.T) {
t.Error("not impl")
})
t.Run("404", func(t *testing.T) {
v01 := NewV01(ctx, nil)
resp := do(v01, "/gm/teehee", "")