public void Throw() { const string source = @"try {throw 'error'} rescue e {print(e)}"; const string expected = "k$try {k$throw 'error'} k$rescue i$e {i$print(i$e)}<EOF>"; Match(expected, source); }