(ctx context.Context, t *testctx.T)
| 530 | } |
| 531 | |
| 532 | func (ShellSuite) TestIntegerArg(ctx context.Context, t *testctx.T) { |
| 533 | c := connect(ctx, t) |
| 534 | |
| 535 | script := "container | with-exposed-port 80 | exposed-ports | port" |
| 536 | out, err := daggerCliBase(t, c). |
| 537 | With(daggerShell(script)). |
| 538 | Stdout(ctx) |
| 539 | require.NoError(t, err) |
| 540 | require.Equal(t, "80\n", out) |
| 541 | } |
| 542 | |
| 543 | func (ShellSuite) TestExport(ctx context.Context, t *testctx.T) { |
| 544 | c := connect(ctx, t) |
nothing calls this directly
no test coverage detected