We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16e1d2b commit c832669Copy full SHA for c832669
pkg/update/update_test.go
@@ -23,7 +23,8 @@ func TestApply(t *testing.T) {
23
if err := Apply("invalidFile", ""); err != ErrNoUpdater {
24
t.Fatal(err)
25
}
26
- if err := Apply("not/existing/package.json", ""); !strings.Contains(err.Error(), "no such file or directory") {
+ if err := Apply("not/existing/package.json", ""); !strings.Contains(err.Error(), "no such file or directory") &&
27
+ !strings.Contains(err.Error(), "The system cannot find the path specified.") {
28
29
30
0 commit comments