@@ -40,37 +40,49 @@ test('with empty body should succeed for "always uppercase"', t => {
40
40
t . is ( actual , expected ) ;
41
41
} ) ;
42
42
43
- test . failing ( 'with lowercase body should fail for "never lowercase"' , t => {
43
+ test ( 'with lowercase body should fail for "never lowercase"' , t => {
44
44
const [ actual ] = bodyCase ( parsed . lowercase , 'never' , 'lowercase' ) ;
45
45
const expected = false ;
46
46
t . is ( actual , expected ) ;
47
47
} ) ;
48
48
49
- test . failing ( 'with lowercase body should succeed for "always lowercase"' , t => {
49
+ test ( 'with lowercase body should succeed for "always lowercase"' , t => {
50
50
const [ actual ] = bodyCase ( parsed . lowercase , 'always' , 'lowercase' ) ;
51
51
const expected = true ;
52
52
t . is ( actual , expected ) ;
53
53
} ) ;
54
54
55
- test . failing ( 'with mixedcase body should fail for "never lowercase"' , t => {
55
+ test ( 'with mixedcase body should succeed for "never lowercase"' , t => {
56
56
const [ actual ] = bodyCase ( parsed . mixedcase , 'never' , 'lowercase' ) ;
57
- const expected = false ;
57
+ const expected = true ;
58
58
t . is ( actual , expected ) ;
59
59
} ) ;
60
60
61
- test . failing ( 'with mixedcase body should fail for "always lowercase"' , t => {
61
+ test ( 'with mixedcase body should fail for "always lowercase"' , t => {
62
62
const [ actual ] = bodyCase ( parsed . mixedcase , 'always' , 'lowercase' ) ;
63
63
const expected = false ;
64
64
t . is ( actual , expected ) ;
65
65
} ) ;
66
66
67
- test . failing ( 'with uppercase body should fail for "never uppercase"' , t => {
67
+ test ( 'with mixedcase body should succeed for "never uppercase"' , t => {
68
+ const [ actual ] = bodyCase ( parsed . mixedcase , 'never' , 'uppercase' ) ;
69
+ const expected = true ;
70
+ t . is ( actual , expected ) ;
71
+ } ) ;
72
+
73
+ test ( 'with mixedcase body should fail for "always uppercase"' , t => {
74
+ const [ actual ] = bodyCase ( parsed . mixedcase , 'always' , 'uppercase' ) ;
75
+ const expected = false ;
76
+ t . is ( actual , expected ) ;
77
+ } ) ;
78
+
79
+ test ( 'with uppercase body should fail for "never uppercase"' , t => {
68
80
const [ actual ] = bodyCase ( parsed . uppercase , 'never' , 'uppercase' ) ;
69
81
const expected = false ;
70
82
t . is ( actual , expected ) ;
71
83
} ) ;
72
84
73
- test . failing ( 'with lowercase body should succeed for "always uppercase"' , t => {
85
+ test ( 'with lowercase body should succeed for "always uppercase"' , t => {
74
86
const [ actual ] = bodyCase ( parsed . uppercase , 'always' , 'uppercase' ) ;
75
87
const expected = true ;
76
88
t . is ( actual , expected ) ;
0 commit comments