Skip to content

Commit

Permalink
Merge pull request #4 from CheckmarxDev/initial-code
Browse files Browse the repository at this point in the history
IG-004 Fix tests
  • Loading branch information
ittaigilat-cx authored Aug 5, 2024
2 parents e98a81d + 8670fe4 commit 2084817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sast_result_remediation/prompt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestAddNewlinesIfNecessaryAllNewlines(t *testing.T) {
func getActual(input string, t *testing.T) []string {
someText := "some text"
response := []string{someText, someText, input}
output := addDescriptionForIdentifier(response)
output := AddDescriptionForIdentifier(response)
for i := 0; i < len(output)-1; i++ {
if output[i] != response[i] {
t.Errorf("All strings except last expected to stay the same")
Expand Down

0 comments on commit 2084817

Please sign in to comment.