[PRISM] Ignore test_parse_directory if error is nil
This commit is contained in:
parent
9c461cd125
commit
05e02783a5
@ -87,9 +87,7 @@ module Prism
|
|||||||
rescue SystemCallError => error
|
rescue SystemCallError => error
|
||||||
end
|
end
|
||||||
|
|
||||||
refute_nil error
|
return if error.nil? || error.is_a?(Errno::ENOMEM)
|
||||||
return if error.is_a?(Errno::ENOMEM)
|
|
||||||
|
|
||||||
assert_kind_of Errno::EISDIR, error
|
assert_kind_of Errno::EISDIR, error
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user