mirror of https://github.com/KLayout/klayout.git
Fixing unit tests
This commit is contained in:
parent
4049ccb4ea
commit
adca536e1a
|
|
@ -50,7 +50,7 @@ class Tl_TestClass < TestBase
|
||||||
expr = RBA::Expression::new
|
expr = RBA::Expression::new
|
||||||
expr.text = "1+2"
|
expr.text = "1+2"
|
||||||
res = expr.eval
|
res = expr.eval
|
||||||
assert_equal(res.class.to_s, "Integer")
|
assert_equal(res.class.to_s == "Fixnum" || res.class.to_s == "Integer", true)
|
||||||
assert_equal(res.to_s, "3")
|
assert_equal(res.to_s, "3")
|
||||||
|
|
||||||
expr = RBA::Expression::new
|
expr = RBA::Expression::new
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue