You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Redundancy in the last example of the tutorial #164
IF (@errorThrown = 0 OR (EXISTS (SELECT 1 FROM FinancialApp.Sales)))
BEGIN
EXEC tSQLt.Fail 'Sales table should not allow invalid currency';
END;
IF EXISTS (SELECT 1 FROM FinancialApp.Sales)
EXEC tSQLt.Fail 'Sales table should not allow invalid currency';
The two last lines are unnecessary since this is tested already just above. This is a small issue but the tutorial should show how easy it is to use the tool, which is why I believe these useless lines are bad 😄
Activity
JerryNixon commentedon May 19, 2022
I've removed this section. You are correct. The update will show in the new docs.
JerryNixon commentedon May 19, 2022
#171
3milio commentedon Jan 20, 2026
Just FYI, this is still showing up in the link originally provided.