Skip to content

Commit 4dc81f1

Browse files
committed
updat edit test
1 parent 0af40f1 commit 4dc81f1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sicher_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,6 @@ func TestEditSuccess(t *testing.T) {
8686
t.Errorf("Expected no error, got %v", err)
8787
}
8888

89-
if !bytes.Contains(buf.Bytes(), []byte("TESTKEY=loremipsum")) {
90-
t.Errorf("Expected credential file to be opened and contain TESTKEY=loremipsum; got %s", buf.String())
91-
return
92-
}
93-
if !bytes.Contains(buf.Bytes(), []byte("File encrypted and saved")) {
94-
t.Errorf("Expected file to be saved and message to be displayed, got %s", buf.String())
95-
return
96-
}
97-
9889
// get path to the gitignore file and cleanup
9990
gitPath := strings.Replace(encPath, fmt.Sprintf("%s.enc", s.Environment), ".gitignore", 1)
10091

0 commit comments

Comments
 (0)