Skip to content

Commit 1ce6f9e

Browse files
committed
fix: remove not used set equal
Signed-off-by: Taoyuesong <tao634774653@gmail.com>
1 parent edcd0a0 commit 1ce6f9e

File tree

2 files changed

+2
-46
lines changed

2 files changed

+2
-46
lines changed

Casbin.UnitTests/Util/TestUtil.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ internal static void TestGetUsers(IEnforcer e, string name, List<string> except,
136136
internal static void TestGetPermissions(IEnforcer e, string name, List<List<string>> except, string domain = null)
137137
{
138138
IEnumerable<IEnumerable<string>> actual = e.GetPermissionsForUser(name, domain);
139-
Assert.True(except.DeepEquals(actual));
139+
Assert.True(except.DeepEquals(actual)); // TODO: why use SetEquals will be failed?
140140
}
141141

142142
internal static void TestGetImplicitPermissions(IEnforcer e, string name, List<List<string>> except,
143143
string domain = null)
144144
{
145145
IEnumerable<IEnumerable<string>> actual = e.GetImplicitPermissionsForUser(name, domain);
146-
Assert.True(except.DeepEquals(actual));
146+
Assert.True(except.DeepEquals(actual)); // TODO: why use SetEquals will be failed?
147147
}
148148

149149
internal static void TestGetRolesInDomain(IEnforcer e, string name, string domain, List<string> except)

Casbin/Util/Utility.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)