Discovered this in converted unit tests for my JSON framework.
This, in an Echoes test project:
import RemObjects.Elements.EUnit
let lTests = Discovery.DiscoverTests()
Runner.RunTests(lTests, withListener: Runner.DefaultListener)
public class MyTests: Test
{
public func AlwaysPass()
{
Assert.AreEqual(1, 2, "Some message with some json { 'hello': 'world' }")
}
}
Gives:
MyTests started
!> Exception of type RemObjects.Elements.RTL.FormatException on thread 0001 ()
!> Message: Input string was not in a correct format
TestApplication2.zip (686.1 KB)