ToString() public method

Returns the text of the script.
public ToString ( ) : string
return string
Ejemplo n.º 1
0
 public void ToStringWithScriptWithNoTokensDisplaysNoTokensMessage()
 {
     Script script = new Script("/*nothing*/");
     Assert.AreEqual("Script has no tokens.", script.ToString());
 }