public void InsertsGoBetweenScripts() { var script = new DbScript(); script.AddScript("FIRST;"); script.AddScript("SECOND;"); Assert.Equal( TestSqlHelper.Normalize("FIRST;GO\nSECOND;"), TestSqlHelper.Normalize(script.ToString())); }
public void CanAddScriptProperly() { var script = new DbScript(); script.AddScript("HELLO"); Assert.Equal( TestSqlHelper.Normalize("HELLO"), TestSqlHelper.Normalize(script.ToString())); }