mirror of https://github.com/KLayout/klayout.git
Updated unit test.
This commit is contained in:
parent
09f97aa286
commit
aa268d3768
|
|
@ -398,7 +398,11 @@ class LAYLayoutView_TestClass < TestBase
|
|||
assert_equal(lv.begin_layers.current.fill_color, 0xffff31cc)
|
||||
|
||||
# should not segfault
|
||||
lv.insert_layer(42, lv.begin_layers(42))
|
||||
begin
|
||||
lv.insert_layer(42, lv.begin_layers(42))
|
||||
assert_equal(true, false)
|
||||
rescue => ex
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue