mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
Fixed the core issue (nil was not working as return value of a factory method)
This commit is contained in:
Vendored
+4
@@ -3252,6 +3252,10 @@ class Basic_TestClass < TestBase
|
||||
GC.start
|
||||
assert_equal(RBA::GObject.g_inst_count, gc)
|
||||
|
||||
gf = RBANilGFactory::new
|
||||
go = RBA::GFactory.create_f(gf, 17)
|
||||
assert_equal(go, nil)
|
||||
|
||||
end
|
||||
|
||||
# keyword arguments, enums and error messages
|
||||
|
||||
Reference in New Issue
Block a user