You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@it("matches a numeric value")
@params(10.23!, "Float")
@params(10.23#, "Double")
@params(10&, "LongInteger")
sub_(numberasDynamic, expectedTypeasString)
m.assertEqual(rooibos.common.getSafeType(number), expectedType)
end sub
✔ matches a numeric value 0 [10.23,"Float"]
✖ matches a numeric value 1 [10.23,"Double"]
✖ matches a numeric value 2 [10,"LongInteger"]
matches a numeric value 1:
AssertionError: expected ""Float"" to equal ""Double""
+ expected - actual
-"Float"
+"Double"
matches a numeric value 2:
AssertionError: expected ""Integer"" to equal ""LongInteger""
+ expected - actual
-"Integer"
+"LongInteger"
This is because the symbols get stripped from the literals when generating rawParams:
This test fails:
This is because the symbols get stripped from the literals when generating
rawParams
:The text was updated successfully, but these errors were encountered: