diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-06-28 10:18:46 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-06-28 10:18:46 +0300 |
commit | a1f9bef02f422a7f9b0031353b49aa76598f95e9 (patch) | |
tree | 44765e51af3c6006d4ae5eb6bafc7d37daf407dc /test | |
parent | b66b1aa609308ad2a6b7ace6fa54ad6273e6d097 (diff) | |
download | rspamd-a1f9bef02f422a7f9b0031353b49aa76598f95e9.tar.gz rspamd-a1f9bef02f422a7f9b0031353b49aa76598f95e9.zip |
[Refactor] Correct misspelled messages in tests
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/base64.lua | 6 | ||||
-rw-r--r-- | test/lua/unit/siphash.lua | 6 |
2 files changed, 6 insertions, 6 deletions
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() |