Skip to content

Commit 184166b

Browse files
committed
test backend correct
1 parent 3248f01 commit 184166b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/TestBackend.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ function test_backend(tc)
9494

9595
[i, b] = stdlib.is_dev_drive('.');
9696
tc.assertThat(b, IsSubsetOf(stdlib.Backend('is_dev_drive').backends))
97-
tc.verifyNotEmpty(i)
97+
if ~ispc() || stdlib.is_admin()
98+
tc.verifyNotEmpty(i)
99+
else
100+
tc.verifyEmpty(i)
101+
end
102+
98103

99104
[i, b] = stdlib.is_mount('.');
100105
tc.assertThat(b, IsSubsetOf(stdlib.Backend('is_mount').backends))

0 commit comments

Comments
 (0)