(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func TestReadString(t *testing.T) { |
| 131 | have, err := ReadString(String("foo")) |
| 132 | if err != nil { |
| 133 | t.Errorf("read: %s", err) |
| 134 | } |
| 135 | if want := "foo"; have != want { |
| 136 | t.Errorf("have %q, want %q", have, want) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | func TestReadStrings(t *testing.T) { |
| 141 | have, err := ReadStrings(Strings("foo", "bar")) |
nothing calls this directly
no test coverage detected