Open ondrejhanslik opened 10 years ago
Calling a method using frankly_map has an invalid return value when the method returns a BOOL.
frankly_map
Broken by this commit https://github.com/TestingWithFrank/Frank/commit/947f28786169fe0a0c05c8dae1a6f21be5eccf02
The result is that booleans are returned to ruby as integers. Unfortunately, all integers in ruby are false breaking a lot of the test code.
false
I understand that @encode(BOOL) == @encode(signed char) but I think that BOOL is much more often used as a return value than a signed char.
@encode(BOOL) == @encode(signed char)
Calling a method using
frankly_map
has an invalid return value when the method returns a BOOL.Broken by this commit https://github.com/TestingWithFrank/Frank/commit/947f28786169fe0a0c05c8dae1a6f21be5eccf02
The result is that booleans are returned to ruby as integers. Unfortunately, all integers in ruby are
false
breaking a lot of the test code.I understand that
@encode(BOOL) == @encode(signed char)
but I think that BOOL is much more often used as a return value than a signed char.