Fixed unit tests.

This commit is contained in:
Matthias Koefferlein 2019-02-18 21:01:19 +01:00
parent 9ec6b44c93
commit 0bed4615aa
1 changed files with 2 additions and 2 deletions

View File

@ -2286,7 +2286,7 @@ CODE
# @synopsis layer.is_deep?
def is_deep?
@data.is_deep?
@data.respond_to?(:is_deep?) && @data.is_deep?
end
# %DRC%
@ -4863,7 +4863,7 @@ CODE
# make sure the output has the right database unit
output.dbu = self.dbu
if data.is_deep?
if data.respond_to?(:is_deep?) && data.is_deep?
# mark the layer as used
if !@used_output_layers[li]