(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestUpdateWorkspaceLockEntry(t *testing.T) { |
| 12 | t.Parallel() |
| 13 | |
| 14 | _, err := updateWorkspaceLockEntry(context.Background(), nil, workspace.LookupEntry{ |
| 15 | Namespace: "acme", |
| 16 | Operation: "resolve", |
| 17 | }) |
| 18 | require.Error(t, err) |
| 19 | require.ErrorContains(t, err, `unsupported lock entry "acme" "resolve"`) |
| 20 | } |
nothing calls this directly
no test coverage detected