(t *testing.T)
| 160 | } |
| 161 | |
| 162 | func TestGetEvalValue(t *testing.T) { |
| 163 | testGetEvalValue(t, "eval(a) && a && b && c", []string{"a"}) |
| 164 | testGetEvalValue(t, "a && eval(a) && b && c", []string{"a"}) |
| 165 | testGetEvalValue(t, "eval(a) && eval(b) && a && b && c", []string{"a", "b"}) |
| 166 | testGetEvalValue(t, "a && eval(a) && eval(b) && b && c", []string{"a", "b"}) |
| 167 | } |
| 168 | |
| 169 | func testReplaceEvalWithMap(t *testing.T, s string, sets map[string]string, res string) { |
| 170 | t.Helper() |
nothing calls this directly
no test coverage detected
searching dependent graphs…