(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func Test_NewRunner(t *testing.T) { |
| 15 | filename := "writing_output" |
| 16 | if runtime.GOOS == "windows" { |
| 17 | filename += ".bat" |
| 18 | } |
| 19 | bin := filepath.Join("test_fixtures", filename) |
| 20 | |
| 21 | runner := gin.NewRunner(bin) |
| 22 | |
| 23 | fi, _ := runner.Info() |
| 24 | expect(t, fi.Name(), filename) |
| 25 | } |
| 26 | |
| 27 | func Test_Runner_Run(t *testing.T) { |
| 28 | bin := filepath.Join("test_fixtures", "writing_output") |