Merge 0.7->0.8
[prosody.git] / tests / test.lua
index b71ccc1f1d8c889af6d50be2936270add712f505..ae5b24f03cb6b17e8d761ef16313b3dd5ac83dda 100644 (file)
@@ -1,6 +1,6 @@
 -- Prosody IM
--- Copyright (C) 2008-2009 Matthew Wild
--- Copyright (C) 2008-2009 Waqas Hussain
+-- Copyright (C) 2008-2010 Matthew Wild
+-- Copyright (C) 2008-2010 Waqas Hussain
 -- 
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
@@ -16,6 +16,7 @@ function run_all_tests()
        dotest "core.s2smanager"
        dotest "core.configmanager"
        dotest "util.stanza"
+       dotest "util.sasl.scram"
        
        dosingletest("test_sasl.lua", "latin1toutf8");
 end
@@ -216,7 +217,7 @@ function new_line_coverage_monitor(file)
                        for line, active in pairs(lines_hit) do
                                if active ~= nil then total_active_lines = total_active_lines + 1; end
                                if coverage_file then
-                                       if active == false then coverage_file:write(fn, "|", line, "|", name or "", "|miss\n"); 
+                                       if active == false then coverage_file:write(fn, "|", line, "|", name or "", "|miss\n");
                                        else coverage_file:write(fn, "|", line, "|", name or "", "|", tostring(success), "\n"); end
                                end
                        end