(t *testing.T)
| 39 | } |
| 40 | } |
| 41 | |
| 42 | func TestParseVariable(t *testing.T) { |
| 43 | v := "VAR1=VAL1" |
| 44 | name, value := parseVariable(v) |
| 45 | if name != "VAR1" { |
| 46 | t.Fatal("expected VAR1, got", name) |
| 47 | } |
| 48 | if value != "VAL1" { |
| 49 | t.Fatal("expected VAL1, got", value) |
| 50 | } |
| 51 | } |
nothing calls this directly
no test coverage detected