summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-06 12:39:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-06 12:39:36 +0100
commit9eff57fae0488bad97ea61aa15ed1f0576395b27 (patch)
tree9bd7ff3c908904c08a14e297b5bd58f8a5a9dc66 /test
parentc7f08302cb12ef693328d1ea6ef3f841cb8c3c98 (diff)
downloadrspamd-9eff57fae0488bad97ea61aa15ed1f0576395b27.tar.gz
rspamd-9eff57fae0488bad97ea61aa15ed1f0576395b27.zip
[Test] Fix broken unit tests
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/logger.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lua/unit/logger.lua b/test/lua/unit/logger.lua
index 29ff4c891..fb04bfde3 100644
--- a/test/lua/unit/logger.lua
+++ b/test/lua/unit/logger.lua
@@ -1,19 +1,19 @@
context("Logger unit tests", function()
test("Logger functions", function()
local log = require "rspamd_logger"
-
+
local cases = {
{'string', 'string'},
{'%1', 'string', 'string'},
- {'%1', '1.100000', 1.1},
+ {'%1', '1.1', 1.1},
{'%1', '1', 1},
{'%1', 'true', true},
{'%1', '{[1] = 1, [2] = test}', {1, 'test'}},
{'%1', '{[k1] = 1, [k2] = test}', {k1=1, k2='test'}},
- {'%1', '{[1] = 1, [2] = 2.100000, [k2] = test}', {1, 2.1, k2='test'}},
+ {'%1', '{[1] = 1, [2] = 2.1, [k2] = test}', {1, 2.1, k2='test'}},
{'%s', 'true', true},
}
-
+
for _,c in ipairs(cases) do
local s
if c[3] then
@@ -22,7 +22,7 @@ context("Logger unit tests", function()
s = log.slog(c[1])
end
assert_equal(s, c[2], string.format("'%s' doesn't match with '%s'",
- c[2], s))
+ c[2], s))
end
end)
end) \ No newline at end of file
e26'>backport/40367/stable26 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/l10n/fr.json
blob: 5b98d46e2d357b208fb1071a98e1b8c246e03d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64