From: Alexander Moisseev Date: Wed, 28 Jun 2017 07:18:46 +0000 (+0300) Subject: [Refactor] Correct misspelled messages in tests X-Git-Tag: 1.6.2~55^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a1f9bef02f422a7f9b0031353b49aa76598f95e9;p=rspamd.git [Refactor] Correct misspelled messages in tests --- diff --git a/test/lua/unit/base64.lua b/test/lua/unit/base64.lua index 73180add8..1ed04f6f7 100644 --- a/test/lua/unit/base64.lua +++ b/test/lua/unit/base64.lua @@ -119,7 +119,7 @@ vehemence of any carnal pleasure.]] local res = ffi.C.base64_test(true, 1000000, 1024) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence base64 (1K): " .. tostring(t2 - t1) .. " sec") + print("Reference base64 (1K): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Base64 test optimized vectors 1K", function() @@ -135,7 +135,7 @@ vehemence of any carnal pleasure.]] local res = ffi.C.base64_test(true, 1000000, 512) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence base64 (512): " .. tostring(t2 - t1) .. " sec") + print("Reference base64 (512): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Base64 test optimized vectors 512", function() @@ -151,7 +151,7 @@ vehemence of any carnal pleasure.]] local res = ffi.C.base64_test(true, 100000, 10240) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence base64 (10K): " .. tostring(t2 - t1) .. " sec") + print("Reference base64 (10K): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Base64 test optimized vectors 10K", function() diff --git a/test/lua/unit/siphash.lua b/test/lua/unit/siphash.lua index 5406cf9fc..3c92d2581 100644 --- a/test/lua/unit/siphash.lua +++ b/test/lua/unit/siphash.lua @@ -16,7 +16,7 @@ context("Siphash check functions", function() local res = ffi.C.siphash24_test(true, 100000, 1024) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence siphash (1KB): " .. tostring(t2 - t1) .. " sec") + print("Reference siphash (1KB): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Siphash test optimized vectors (1KB)", function() @@ -32,7 +32,7 @@ context("Siphash check functions", function() local res = ffi.C.siphash24_test(true, 1000000, 5) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence siphash (5B): " .. tostring(t2 - t1) .. " sec") + print("Reference siphash (5B): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Siphash test optimized vectors (5B)", function() @@ -48,7 +48,7 @@ context("Siphash check functions", function() local res = ffi.C.siphash24_test(true, 1000000, 50) local t2 = ffi.C.rspamd_get_ticks() - print("Refrence siphash (50B): " .. tostring(t2 - t1) .. " sec") + print("Reference siphash (50B): " .. tostring(t2 - t1) .. " sec") assert_not_equal(res, 0) end) test("Siphash test optimized vectors (50B)", function()