(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestValidDigestAlgorithms(t *testing.T) { |
| 39 | t.Run("includes sha256", func(t *testing.T) { |
| 40 | assert.Contains(t, ValidDigestAlgorithms(), "sha256") |
| 41 | }) |
| 42 | |
| 43 | t.Run("includes sha512", func(t *testing.T) { |
| 44 | assert.Contains(t, ValidDigestAlgorithms(), "sha512") |
| 45 | }) |
| 46 | } |
nothing calls this directly
no test coverage detected