We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ec926f commit 711a493Copy full SHA for 711a493
1 file changed
test/AngularSpec.js
@@ -887,6 +887,12 @@ describe('angular', function() {
887
expect(snake_case('ABC')).toEqual('a_b_c');
888
expect(snake_case('alanBobCharles')).toEqual('alan_bob_charles');
889
});
890
+
891
892
+ it('should allow seperator to be overridden', function() {
893
+ expect(snake_case('ABC', '&')).toEqual('a&b&c');
894
+ expect(snake_case('alanBobCharles', '&')).toEqual('alan&bob&charles');
895
+ });
896
897
898
0 commit comments