Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commit42e024e

Browse files
committed
fixup! fixup! fixup! Add integration tests for Secrets commands
1 parent1721f7a commit42e024e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎ci/tcli/tcli.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,16 @@ type Assertable struct {
163163
}
164164

165165
// Assert runs the Assertable and
166-
func (aAssertable)Assert(t*testing.T,option...Assertion) {
166+
func (a*Assertable)Assert(t*testing.T,option...Assertion) {
167167
slog.Helper()
168168
var (
169169
stdout bytes.Buffer
170170
stderr bytes.Buffer
171171
resultCommandResult
172172
)
173+
ifa.cmd==nil {
174+
slogtest.Fatal(t,"test failed to initialize: no command specified")
175+
}
173176

174177
a.cmd.Stdout=&stdout
175178
a.cmd.Stderr=&stderr

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp