fix file name creation on windows
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
d42b076a48
commit
2418eda1cb
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ func TestCreateJSONLinesFilePath(t *testing.T) {
|
|||
|
||||
var expectedFileName string
|
||||
if runtime.GOOS == "windows" {
|
||||
expectedFileName = fmt.Sprintf("%s.jsonl", artifact.DigestWithAlg())
|
||||
expectedFileName = fmt.Sprintf("%s-%s.jsonl", artifact.Algorithm(), artifact.Digest())
|
||||
} else {
|
||||
expectedFileName = fmt.Sprintf("%s.jsonl", artifact.DigestWithAlg())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue