diff options
author | Sean Allred <code@seanallred.com> | 2014-11-02 08:55:53 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-02 09:03:13 -0500 |
commit | 39ec0ba8a34b3764fcf46f0e5deb1133b0e70e2c (patch) | |
tree | 4377a39ec2cd28162cbd3db9ce6cd5bb515783b7 /test/tests.el | |
parent | 6d6fe8e7b7f0bb99b2895fe53c811857ce65e275 (diff) |
Use a simpler construct to test filter inclusion
Also removed tests for `stack-core-filter-data--item-in-tree' since it
no longer exists.
Diffstat (limited to 'test/tests.el')
-rw-r--r-- | test/tests.el | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/tests.el b/test/tests.el index ac40cea..44b0de0 100644 --- a/test/tests.el +++ b/test/tests.el @@ -75,35 +75,3 @@ ((should-not-go)) ((1 . alpha) (2 . beta))] '(1 2 3))))) - -(ert-deftest test-tree-member () - "`stack-core-filter-data--item-in-tree'" - (should - (equal - '(a b c) - (stack-core-filter-data--item-in-tree 'a '(a b c)))) - - (should - (equal - '(a b c) - (stack-core-filter-data--item-in-tree 'a '(b a b c)))) - - (should - (equal - '(a b c) - (stack-core-filter-data--item-in-tree 'a '((a b c) 1 2)))) - - (should - (equal - '(a b c) - (stack-core-filter-data--item-in-tree 'a '(1 (a b c) 2)))) - - (should - (equal - '(a b c) - (stack-core-filter-data--item-in-tree 'a '(1 2 (a b c))))) - - (should - (equal - '(a a b c) - (stack-core-filter-data--item-in-tree 'a '(1 (a a b c) 2))))) |