aboutsummaryrefslogtreecommitdiff
path: root/test/test-api.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-02 19:37:07 -0500
committerSean Allred <code@seanallred.com>2015-01-02 19:37:15 -0500
commit63dcca1acd08c0d103196a5d35a581d5380d3717 (patch)
treed6b6e07c32dadebe203308ae5aea537c09fd1048 /test/test-api.el
parentdea60197cf658925827ccf3d10080dc4c0a22c40 (diff)
Fix test
Dumb mistake -- I wasn't taking the length of the request before comparing it.
Diffstat (limited to 'test/test-api.el')
-rw-r--r--test/test-api.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-api.el b/test/test-api.el
index 8e71eb2..91a8adb 100644
--- a/test/test-api.el
+++ b/test/test-api.el
@@ -19,4 +19,4 @@
(ert-deftest test-method-get-all ()
"Tests sx-method interface to `sx-request-all-items'"
- (should (< 250 (sx-method-call 'sites :get-all t))))
+ (should (< 250 (length (sx-method-call 'sites :get-all t)))))