Tests might fail with the following not-so-helpful error message:
Test "Connecting to a game server with POST to connect/ - Connecting succeeds with a valid session": tests failed! Quitting!
Error: expected to be equal, 4200 vs. 4200
Obviously the problem is that one of those is an int, and the other is a string -- but how would someone know that?
So instead, perhaps we should try and determine the type of both values, perhaps if the type is string we should print the result as "4200" to maybe make it more clear?
Alternatively, we could print the types of the values themselves ... that's less clear I think.
Tests might fail with the following not-so-helpful error message:
Obviously the problem is that one of those is an int, and the other is a string -- but how would someone know that?
So instead, perhaps we should try and determine the type of both values, perhaps if the type is string we should print the result as "4200" to maybe make it more clear?
Alternatively, we could print the types of the values themselves ... that's less clear I think.