Skip to content

Commit 8b4d865

Browse files
authored
Fix testifylint violations in gateway_test.go (#8681)
1 parent 6027c3b commit 8b4d865

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/workflow/gateway_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,8 +776,8 @@ func TestGenerateMCPGatewayStartStep_WithEnvVars(t *testing.T) {
776776
ghAwPos := strings.Index(stepStr, "GH_AW_SAFE_OUTPUTS")
777777
githubMcpPos := strings.Index(stepStr, "GITHUB_MCP_SERVER_TOKEN")
778778
githubTokenPos := strings.Index(stepStr, "GITHUB_TOKEN")
779-
assert.True(t, ghAwPos < githubMcpPos, "GH_AW_SAFE_OUTPUTS should come before GITHUB_MCP_SERVER_TOKEN")
780-
assert.True(t, githubMcpPos < githubTokenPos, "GITHUB_MCP_SERVER_TOKEN should come before GITHUB_TOKEN")
779+
assert.Less(t, ghAwPos, githubMcpPos, "GH_AW_SAFE_OUTPUTS should come before GITHUB_MCP_SERVER_TOKEN")
780+
assert.Less(t, githubMcpPos, githubTokenPos, "GITHUB_MCP_SERVER_TOKEN should come before GITHUB_TOKEN")
781781
}
782782

783783
func TestGenerateMCPGatewayStartStep_WithoutEnvVars(t *testing.T) {

0 commit comments

Comments
 (0)