Skip to content

Commit

Permalink
lib/fs: Fix WatchRename test for FreeBSD (fixes #6613)
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Aug 7, 2020
1 parent b2e7ecd commit 89946b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fs/basicfs_watch_test.go
Expand Up @@ -133,7 +133,7 @@ func TestWatchRename(t *testing.T) {
destEvent := Event{new, Remove}
// Only on these platforms the removed file can be differentiated from
// the created file during renaming
if runtime.GOOS == "windows" || runtime.GOOS == "linux" || runtime.GOOS == "solaris" {
if runtime.GOOS == "windows" || runtime.GOOS == "linux" || runtime.GOOS == "solaris" || runtime.GOOS == "freebsd" {
destEvent = Event{new, NonRemove}
}
expectedEvents := []Event{
Expand Down

0 comments on commit 89946b2

Please sign in to comment.