(t *testing.T)
| 58 | } |
| 59 | |
| 60 | func loadValidSelectors(t *testing.T) []validSelector { |
| 61 | c, err := ioutil.ReadFile("test_resources/valid_selectors.json") |
| 62 | if err != nil { |
| 63 | t.Fatal(err) |
| 64 | } |
| 65 | var tests []validSelector |
| 66 | if err = json.Unmarshal(c, &tests); err != nil { |
| 67 | t.Fatal(err) |
| 68 | } |
| 69 | return tests |
| 70 | } |
| 71 | |
| 72 | func TestValidSelectors(t *testing.T) { |
| 73 | tests := loadValidSelectors(t) |
no outgoing calls
no test coverage detected