mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Fix test
This commit is contained in:
@@ -12,6 +12,6 @@ func TestDiff(t *testing.T) {
|
||||
|
||||
added, removed := Diff(a, b)
|
||||
|
||||
require.Equal(t, []string{"e", "f"}, added)
|
||||
require.Equal(t, []string{"a", "b"}, removed)
|
||||
require.ElementsMatch(t, []string{"e", "f"}, added)
|
||||
require.ElementsMatch(t, []string{"a", "b"}, removed)
|
||||
}
|
||||
|
Reference in New Issue
Block a user