Skip to content

Commit 5117207

Browse files
update tests
1 parent f024d6d commit 5117207

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

sdk/action/client_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ func TestClient_GetTask(t *testing.T) {
126126
}
127127
}
128128

129-
/* -------------------------------------------------------------------------- */
130-
/* DeleteTask */
131-
/* -------------------------------------------------------------------------- */
132-
133129
func TestClient_DeleteTask(t *testing.T) {
134130
ctx := context.Background()
135131
mockErr := errors.New("delete fail")

sdk/task/cache_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ func TestTaskCache_ConcurrentAccess(t *testing.T) {
5252
}
5353
}
5454

55-
/* ---------- Set / Get ---------------------------------------------------- */
56-
5755
func TestTaskCache_SetGet(t *testing.T) {
5856
ctx := context.Background()
5957
tc := newTestCache(t)
@@ -79,8 +77,6 @@ func TestTaskCache_SetGet(t *testing.T) {
7977
}
8078
}
8179

82-
/* ---------- UpdateStatus ------------------------------------------------- */
83-
8480
func TestTaskCache_UpdateStatus(t *testing.T) {
8581
ctx := context.Background()
8682
tc := newTestCache(t)
@@ -95,8 +91,6 @@ func TestTaskCache_UpdateStatus(t *testing.T) {
9591
assert.Equal(t, StatusProcessing, ent.Status)
9692
}
9793

98-
/* ---------- AddEvent ----------------------------------------------------- */
99-
10094
func TestTaskCache_AddEvent(t *testing.T) {
10195
ctx := context.Background()
10296
tc := newTestCache(t)
@@ -113,8 +107,6 @@ func TestTaskCache_AddEvent(t *testing.T) {
113107
assert.Equal(t, ev, ent.Events[0])
114108
}
115109

116-
/* ---------- Delete ------------------------------------------------------- */
117-
118110
func TestTaskCache_Delete(t *testing.T) {
119111
ctx := context.Background()
120112
tc := newTestCache(t)

0 commit comments

Comments
 (0)