Skip to content

Updated go.md bash example file#19

Merged
Pranavtechie merged 1 commit intocodedamn:mainfrom
Exar04:Exar04-patch-1
Jan 25, 2024
Merged

Updated go.md bash example file#19
Pranavtechie merged 1 commit intocodedamn:mainfrom
Exar04:Exar04-patch-1

Conversation

@Exar04
Copy link
Copy Markdown
Contributor

@Exar04 Exar04 commented Jan 24, 2024

Test output in go is in this format.
Screenshot 2024-01-24 at 9 51 42 PM
therefore we should be checking for --- PASS instead of PASS
if we do PASS then all the strings that have pass string will return true which is wrong

if (output === undefined) return when its not actual testCase structure then output is undefined
Idk how that works, but adding this solves the error.

rm go.mod removing go.mod before node testoutput.js because if testoutput.js fails all the test files won't get deleted and we need to manually remove go.mod.

@Pranavtechie Pranavtechie merged commit d0ea5c8 into codedamn:main Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants