mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Add test_normalize_recipients.
(imported from commit 9645cb471f8db01e810c9b6c396313ee4c1cf97f)
This commit is contained in:
committed by
Leo Franchi
parent
d52e5e551d
commit
a8d61fa930
@@ -97,6 +97,10 @@ var _ = global._;
|
||||
assert(!util.array_compare([1,2,3], [1,2]));
|
||||
}());
|
||||
|
||||
(function test_normalize_recipients() {
|
||||
assert(util.normalize_recipients(' bob@foo.com, alice@foo.com '), 'alice@foo.com,bob@foo.com');
|
||||
}());
|
||||
|
||||
(function test_enforce_arity() {
|
||||
function f1() {}
|
||||
var eaf1 = util.enforce_arity(f1);
|
||||
|
||||
Reference in New Issue
Block a user