Implement pending test.

This commit is contained in:
Thomas Wienecke 2014-03-05 02:18:23 +01:00 committed by Thiago de Arruda
parent 8bb672e6a0
commit fafdad2f95

View File

@ -74,10 +74,8 @@ describe 'os_unix function', ->
it 'returns false when given a regular file without executable bit set', -> it 'returns false when given a regular file without executable bit set', ->
-- This is a critical test since Windows does not have any executable -- This is a critical test since Windows does not have any executable
-- bit. Thus executable_file returns TRUE on every regular file on -- bit. Thus executable_file returns TRUE on every regular file on
-- Windows. This test must probably differentiate between Windows and -- Windows and this test will fail.
-- other systems, which have an executable bit. eq FALSE, (executable_file 'unit-test-directory/test.file')
pending 'Test executable_file with a regular file which is not
executable. Need a solution which also works on Windows.'
describe 'mch_can_exe', -> describe 'mch_can_exe', ->
mch_can_exe = (name) -> mch_can_exe = (name) ->