(t *testing.T)
| 588 | } |
| 589 | |
| 590 | func TestOutputForEnvironment(t *testing.T) { |
| 591 | value, err := outputForEnvironment("1234\n") |
| 592 | require.NoError(t, err) |
| 593 | assert.Equal(t, "1234", value) |
| 594 | |
| 595 | _, err = outputForEnvironment("\n") |
| 596 | require.EqualError(t, err, "command output is empty") |
| 597 | } |
| 598 | |
| 599 | func TestAcceptance(t *testing.T) { |
| 600 | var tsEnv testScriptEnv |
nothing calls this directly
no test coverage detected