(t *testing.T)
| 95 | } |
| 96 | |
| 97 | func TestFetchSourceContextQueryDefaults(t *testing.T) { |
| 98 | builder := NewFetchSourceContext(true) |
| 99 | values := builder.Query() |
| 100 | got := values.Encode() |
| 101 | expected := "" |
| 102 | if got != expected { |
| 103 | t.Errorf("expected %q; got: %q", expected, got) |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | func TestFetchSourceContextQueryNoFetchSource(t *testing.T) { |
| 108 | builder := NewFetchSourceContext(false) |
nothing calls this directly
no test coverage detected
searching dependent graphs…