mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
Fix tests on Windows
This commit is contained in:
parent
a70f3f12c5
commit
c7d779fe88
@ -15,11 +15,14 @@
|
||||
|
||||
package versioner
|
||||
|
||||
import "testing"
|
||||
import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestTaggedFilename(t *testing.T) {
|
||||
cases := [][3]string{
|
||||
{"foo/bar.baz", "tag", "foo/bar~tag.baz"},
|
||||
{filepath.Join("foo", "bar.baz"), "tag", filepath.Join("foo", "bar~tag.baz")},
|
||||
{"bar.baz", "tag", "bar~tag.baz"},
|
||||
{"bar", "tag", "bar~tag"},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user