mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
entc/internal: fix windows filepath separator (#1227)
This commit is contained in:
@@ -33,6 +33,6 @@ type User struct {
|
||||
require.NoError(t, err)
|
||||
err = CheckDir(target)
|
||||
require.Error(t, err)
|
||||
expected := fmt.Sprintf("vcs conflict %s/b.go:4", target)
|
||||
expected := fmt.Sprintf("vcs conflict %s:4", filepath.Join(target, "b.go"))
|
||||
require.EqualError(t, err, expected)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user