@@ -14,14 +14,24 @@ describe("camelCase", function() {
1414 ] ,
1515 dashes : [
1616 [ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
17+ ] ,
18+ withoutOnly : [
19+ [ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
20+ ] ,
21+ dashesOnly : [
22+ [ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
1723 ]
1824 } ;
1925 exports . with . locals = { 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
2026 exports . without . locals = { btnInfoIsDisabled : '_1L-rnCOXCE_7H94L5XT4uB' , 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
2127 exports . dashes . locals = { btnInfo_isDisabled : '_1L-rnCOXCE_7H94L5XT4uB' , 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
28+ exports . withoutOnly . locals = { btnInfoIsDisabled : '_1L-rnCOXCE_7H94L5XT4uB' } ;
29+ exports . dashesOnly . locals = { btnInfo_isDisabled : '_1L-rnCOXCE_7H94L5XT4uB' } ;
2230 test ( "with" , css , exports . with , "?modules" ) ;
2331 test ( "without" , css , exports . without , "?modules&camelCase" ) ;
2432 test ( "dashes" , css , exports . dashes , "?modules&camelCase=dashes" ) ;
33+ test ( "withoutOnly" , css , exports . withoutOnly , "?modules&camelCase=only" ) ;
34+ test ( "dashesOnly" , css , exports . dashesOnly , "?modules&camelCase=dashesOnly" ) ;
2535
2636 testRaw ( "withoutRaw" , '.a {}' , 'exports.locals = {\n\t"a": "_1buUQJccBRS2-2i27LCoDf"\n};' , "?modules&camelCase" ) ;
2737 testRaw ( "dashesRaw" , '.a {}' , 'exports.locals = {\n\t"a": "_1buUQJccBRS2-2i27LCoDf"\n};' , "?modules&camelCase=dashes" ) ;
0 commit comments