blob: 0156bbd4d618ceb2c0dc470146998907811a3935 (
plain) (
tree)
|
|
package commands
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestRm(t *testing.T) {
testEnv, bugID := newTestEnvAndBug(t)
exp := "bug " + bugID + " removed\n"
require.NoError(t, runRm(testEnv.env, []string{bugID}))
require.Equal(t, exp, testEnv.out.String())
testEnv.out.Reset()
}
|