From fafdad2f95f4104374056ce2affe59a8098bb3fa Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Wed, 5 Mar 2014 02:18:23 +0100 Subject: [PATCH] Implement pending test. --- test/unit/os_unix.moon | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/unit/os_unix.moon b/test/unit/os_unix.moon index abc7656349..35467b2971 100644 --- a/test/unit/os_unix.moon +++ b/test/unit/os_unix.moon @@ -74,10 +74,8 @@ describe 'os_unix function', -> it 'returns false when given a regular file without executable bit set', -> -- This is a critical test since Windows does not have any executable -- bit. Thus executable_file returns TRUE on every regular file on - -- Windows. This test must probably differentiate between Windows and - -- other systems, which have an executable bit. - pending 'Test executable_file with a regular file which is not - executable. Need a solution which also works on Windows.' + -- Windows and this test will fail. + eq FALSE, (executable_file 'unit-test-directory/test.file') describe 'mch_can_exe', -> mch_can_exe = (name) ->