apache / apache/openwhisk-wskdeploy
Unit Test - contentreader.go
Open
priority: low
tests: unit
- Dominant language
- Go
- Stars
- 75
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Add unit tests to validate methods under utils package which are defined in [contentreader.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils/contentreader.go).
All unit tests should go in contentreader_test.go under [utils/](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils)
```
// read content from a file or web page depending on the "prefix" of the location
func Read(url string) (content []byte, err error) {
...
}
```
Contributor guide
Assessment
This issue has not been assessed yet.