(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func TestParseItemParamsMarshalSFV(t *testing.T) { |
| 54 | t.Parallel() |
| 55 | |
| 56 | i := NewItem(Token("bar")) |
| 57 | i.Params.Add("foo", 0.0) |
| 58 | i.Params.Add("baz", true) |
| 59 | |
| 60 | var b strings.Builder |
| 61 | _ = i.marshalSFV(&b) |
| 62 | |
| 63 | if b.String() != "bar;foo=0.0;baz" { |
| 64 | t.Error("marshalSFV(): invalid") |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | func TestUnmarshalItem(t *testing.T) { |
| 69 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…