#import "Expecta.h"

EXPMatcherInterface(_equal, (id expected));
EXPMatcherInterface(equal, (id expected)); // to aid code completion
#define equal(expected) _equal(EXPObjectify((expected)))

#import "Expecta.h"

EXPMatcherInterface(_equal, (id expected));
EXPMatcherInterface(equal, (id expected)); // to aid code completion
#define equal(...) _equal(EXPObjectify((__VA_ARGS__)))

Make usage of NSArray literals a little bit simpler in equal()
Make usage of NSArray literals a little bit simpler in equal()

This allows to write something like expect(array).to.equal(@[ @"a", @"b", @"c" ]) without additional parentheses around the array literal.