(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestDgraphVersion(t *testing.T) { |
| 24 | tmpPath := t.TempDir() |
| 25 | configPath := filepath.Join(tmpPath, "config.yml") |
| 26 | configFile, err := os.Create(configPath) |
| 27 | require.NoError(t, err) |
| 28 | defer configFile.Close() |
| 29 | require.NoError(t, testutil.Exec(testutil.DgraphBinaryPath(), "version", "--config", configPath)) |
| 30 | } |
nothing calls this directly
no test coverage detected