Skip to content

Commit 9b3be5e

Browse files
committed
Fix formatting and import order
Signed-off-by: Jacob Murphy <jkmurphy@google.com>
1 parent 888f47b commit 9b3be5e

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/acl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* POSSIBILITY OF SUCH DAMAGE.
2828
*/
2929

30-
#include "sds.h"
3130
#include "server.h"
31+
#include "sds.h"
3232
#include "sha256.h"
3333
#include "module.h"
3434
#include "intset.h"

tests/unit/acl.tcl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,16 +1493,16 @@ start_server [list overrides [list "dir" $server_path "aclfile" "user.acl"] tags
14931493
} else {
14941494
assert_equal [dict get $acl $field] $expected_val
14951495
}
1496-
1497-
# Verify with LIST for specific cases to ensure quoting in serialization
1498-
if {$username eq "keyquoter"} {
1499-
set acl_list [r ACL LIST]
1500-
assert_match {*"~key\\\"name"*} $acl_list
1501-
}
1502-
if {$username eq "chanquoter"} {
1503-
set acl_list [r ACL LIST]
1504-
assert_match {*"&chan\\\"name"*} $acl_list
1505-
}
1496+
1497+
# Verify with LIST for specific cases to ensure quoting in serialization
1498+
if {$username eq "keyquoter"} {
1499+
set acl_list [r ACL LIST]
1500+
assert_match {*"~key\\\"name"*} $acl_list
1501+
}
1502+
if {$username eq "chanquoter"} {
1503+
set acl_list [r ACL LIST]
1504+
assert_match {*"&chan\\\"name"*} $acl_list
1505+
}
15061506
}
15071507

15081508
# Clean up user for next iteration

0 commit comments

Comments
 (0)