(t *testing.T)
| 98 | } |
| 99 | |
| 100 | func TestIssue25(t *testing.T) { |
| 101 | // https://github.com/segmentio/ksuid/issues/25 |
| 102 | for _, s := range []string{ |
| 103 | "aaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 104 | "aWgEPTl1tmebfsQzFP4bxwgy80!", |
| 105 | } { |
| 106 | _, err := Parse(s) |
| 107 | if err != errStrValue { |
| 108 | t.Error("invalid KSUID representations cannot be successfully parsed, got err =", err) |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | func TestEncodeAndDecode(t *testing.T) { |
| 114 | x := New() |
nothing calls this directly
no test coverage detected
searching dependent graphs…