Skip to content

Commit 9b2f814

Browse files
committed
Fix typos
1 parent fbe4de0 commit 9b2f814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crud/compare/conditions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function conditions.parse(user_conditions)
113113
local cond_func = funcs_by_symbols[operator_symbol]
114114
if cond_func == nil then
115115
return nil, ParseConditionError:new(
116-
"condition[1] %q isn't a valid condition oprator, (condition %s)", operator_symbol, i
116+
"condition[1] %q isn't a valid condition operator, (condition %s)", operator_symbol, i
117117
)
118118
end
119119

test/unit/parse_conditions_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ g.test_parse_errors = function()
8686
local _, err = compare_conditions.parse(user_conditions)
8787
t.assert_str_contains(
8888
err.err,
89-
'condition[1] "===" isn\'t a valid condition oprator, (condition 2)'
89+
'condition[1] "===" isn\'t a valid condition operator, (condition 2)'
9090
)
9191

9292
-- bad operand

0 commit comments

Comments
 (0)