(t *testing.T)
| 1066 | } |
| 1067 | |
| 1068 | func TestAutoComplete(t *testing.T) { |
| 1069 | complete := newCompleter(functionNames(heapProfile())) |
| 1070 | |
| 1071 | for _, test := range autoCompleteTests { |
| 1072 | if out := complete(test.in); out != test.out { |
| 1073 | t.Errorf("autoComplete(%s) = %s; want %s", test.in, out, test.out) |
| 1074 | } |
| 1075 | } |
| 1076 | } |
| 1077 | |
| 1078 | func TestTagFilter(t *testing.T) { |
| 1079 | var tagFilterTests = []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…