mirror of https://github.com/k3s-io/k3s
Merge pull request #10028 from andronat/small_wrong_printing_in_tests
Changed printing in a test filepull/6/head
commit
b86ed2356c
|
@ -18,7 +18,6 @@ package cmd
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"strings"
|
||||
"testing"
|
||||
|
@ -240,7 +239,7 @@ func TestDeleteMultipleObjectContinueOnMissing(t *testing.T) {
|
|||
cmd.Flags().Set("filename", "../../../examples/guestbook/frontend-service.json")
|
||||
cmd.Flags().Set("cascade", "false")
|
||||
filenames := cmd.Flags().Lookup("filename").Value.(*util.StringList)
|
||||
fmt.Printf("filenames: %v\n", filenames)
|
||||
t.Logf("filenames: %v\n", filenames)
|
||||
err := RunDelete(f, buf, cmd, []string{}, *filenames)
|
||||
if err == nil || !errors.IsNotFound(err) {
|
||||
t.Errorf("unexpected error: expected NotFound, got %v", err)
|
||||
|
|
Loading…
Reference in New Issue