1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.NRefactory;
6
using ICSharpCode.RubyBinding;
9
namespace RubyBinding.Tests.Converter
12
public class VBExitConversionTests
15
"Public Class Class1\r\n" +
16
" Public Sub Test\r\n" +
24
public void ConvertedRubyCode()
26
NRefactoryToRubyConverter converter = new NRefactoryToRubyConverter(SupportedLanguage.VBNet);
27
converter.IndentString = " ";
28
string ruby = converter.Convert(vb);
38
Assert.AreEqual(expectedRuby, ruby);