mirror of https://github.com/KLayout/klayout.git
Fixed ant Ruby unit test
This commit is contained in:
parent
e7177261ad
commit
bf9d8100f2
|
|
@ -568,8 +568,9 @@ class Ant_TestClass < TestBase
|
|||
def test_5
|
||||
|
||||
lv = RBA::LayoutView::new
|
||||
lv.set_config("ruler-templates", "mode=normal,title=Ruler,category=_ruler,fmt=$D,fmt_x=$X,fmt_y=$Y,position=auto,xalign=auto,yalign=auto,xlabel_xalign=auto,xlabel_yalign=auto,ylabel_xalign=auto,ylabel_yalign=auto,style=ruler,outline=diag,snap=true,angle_constraint=global")
|
||||
tpl = lv.annotation_templates
|
||||
assert_equal(tpl.size > 0, true) # at least one default template
|
||||
assert_equal(tpl.size, 1)
|
||||
|
||||
lv.unregister_annotation_templates("")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue