superlint/.automation/test/go/README.md

21 lines
645 B
Markdown
Raw Normal View History

2020-02-28 10:51:29 -05:00
# Golang Test Cases
2020-07-21 13:08:05 -04:00
This folder holds the test cases for **Golang**.
2020-02-28 10:51:29 -05:00
## Additional Docs
2020-07-21 13:08:05 -04:00
2020-02-28 10:51:29 -05:00
No Additional information is needed for this test case.
## Good Test Cases
2020-07-21 13:08:05 -04:00
2020-02-28 10:51:29 -05:00
The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted.
2020-07-21 13:08:05 -04:00
2020-02-28 10:51:29 -05:00
- **Note:** They are linted utilizing the default linter rules.
- **Note:** `.automation/test/` contains `go.mod` and `go.sum` which need to test `golang_good_02.go`.
2020-02-28 10:51:29 -05:00
## Bad Test Cases
2020-07-21 13:08:05 -04:00
2020-02-28 10:51:29 -05:00
The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted.
2020-07-21 13:08:05 -04:00
2020-02-28 10:51:29 -05:00
- **Note:** They are linted utilizing the default linter rules.