(ctx context.Context, t *testctx.T)
| 553 | } |
| 554 | |
| 555 | func (ShellSuite) TestBasicModule(ctx context.Context, t *testctx.T) { |
| 556 | c := connect(ctx, t) |
| 557 | |
| 558 | script := "container-echo hello-world-im-here | stdout" |
| 559 | out, err := daggerCliBase(t, c). |
| 560 | With(withModInit("go", "")). |
| 561 | With(daggerShell(script)). |
| 562 | Stdout(ctx) |
| 563 | require.NoError(t, err) |
| 564 | require.Contains(t, out, "hello-world-im-here") |
| 565 | } |
| 566 | |
| 567 | func (ShellSuite) TestPassingID(ctx context.Context, t *testctx.T) { |
| 568 | c := connect(ctx, t) |
nothing calls this directly
no test coverage detected