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 <alliasgher123@gmail.com>
This commit is contained in:
alliasgher
2026-04-15 15:54:02 +05:00
parent 6994b4cb4e
commit ae063a499a

View File

@@ -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)