From 474652ea51b797db17e0e686b77b90d6b90c0b94 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sun, 24 May 2020 17:44:05 +0200 Subject: [PATCH] [#321] platformtest: fix test ListFilesystemVersionsZeroExistIsNotAnError --- platformtest/tests/listFilesystemVersions.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/platformtest/tests/listFilesystemVersions.go b/platformtest/tests/listFilesystemVersions.go index 475a0db..7071b0a 100644 --- a/platformtest/tests/listFilesystemVersions.go +++ b/platformtest/tests/listFilesystemVersions.go @@ -85,9 +85,6 @@ func ListFilesystemVersionsZeroExistIsNotAnError(t *platformtest.Context) { vs, err := zfs.ZFSListFilesystemVersions(t, mustDatasetPath(fs), zfs.ListFilesystemVersionsOptions{}) require.Empty(t, vs) require.NoError(t, err) - dsne, ok := err.(*zfs.DatasetDoesNotExist) - require.True(t, ok) - require.Equal(t, fs, dsne.Path) } func ListFilesystemVersionsFilesystemNotExist(t *platformtest.Context) {