public void HostingDefaultOptions1() {
// this reports warnings that the default ErrorSink should ignore:
Engine.Execute(@"
x = lambda { }
1.times &x
a = 'ba'.gsub /b/, '1'
");
// errors and fatal errors should trigger an exception:
AssertExceptionThrown<SyntaxErrorException>(() => Engine.Execute("}"));
}