public void StringsPlus() { AssertExceptionThrown<InvalidOperationException>(delegate() { CompilerTest(@" puts 'foo' + nil "); }); }