From ae063a499a67c00978d25f1b2e4bf0185ad6dc82 Mon Sep 17 00:00:00 2001 From: alliasgher Date: Wed, 15 Apr 2026 15:54:02 +0500 Subject: [PATCH] util/runtime: simplify TestFsType comment per review Remove issue reference and trim the comment down to the assertion's intent, per @roidelapluie review. Signed-off-by: alliasgher --- util/runtime/statfs_unix_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/util/runtime/statfs_unix_test.go b/util/runtime/statfs_unix_test.go index 3b3072f660..3adff62120 100644 --- a/util/runtime/statfs_unix_test.go +++ b/util/runtime/statfs_unix_test.go @@ -28,9 +28,7 @@ func TestFsType(t *testing.T) { path, err := os.Getwd() require.NoError(t, err) - // FsType returns a named constant (e.g. EXT4_SUPER_MAGIC) for known - // filesystems, or a lowercase-hex fallback for unknown ones. Either way - // the result must be non-zero for a real path. See #18471. + // A real path must yield a non-zero filesystem type. fsType = FsType(path) require.NotEqual(t, "0", fsType)