@@ -776,7 +776,11 @@ it("line: 152 - matches ([\\da-f:]+)$ against 'abc'", () => {
776776 expect ( match . matches [ 0 ] ) . toBe ( "abc" . substring ( 0 , 3 ) ) ;
777777 expect ( match . matches [ 1 ] ) . toBe ( "abc" . substring ( 0 , 3 ) ) ;
778778} ) ;
779- xit ( "line: 153 - aspect [Actual]: <Match>null vs [Expected]: Not <Match>null issue" , ( ) => { } ) ;
779+ it ( "line: 153 - matches ([\\da-f:]+)$ against 'fed'" , ( ) => {
780+ const match = exec ( "([\\da-f:]+)$" , "fed" , "is" ) ;
781+ expect ( match . matches [ 0 ] ) . toBe ( "fed" . substring ( 0 , 3 ) ) ;
782+ expect ( match . matches [ 1 ] ) . toBe ( "fed" . substring ( 0 , 3 ) ) ;
783+ } ) ;
780784it ( "line: 154 - matches ([\\da-f:]+)$ against 'E'" , ( ) => {
781785 const match = exec ( "([\\da-f:]+)$" , "E" , "is" ) ;
782786 expect ( match . matches [ 0 ] ) . toBe ( "E" . substring ( 0 , 1 ) ) ;
@@ -1044,8 +1048,8 @@ xit("line: 199 - non capturing groups not supported", () => {});
10441048xit ( "line: 200 - non capturing groups not supported" , ( ) => { } ) ;
10451049xit ( "line: 201 - non capturing groups not supported" , ( ) => { } ) ;
10461050xit ( "line: 202 - non capturing groups not supported" , ( ) => { } ) ;
1047- xit ( "line: 203 - aspect [Actual]: <Match>null vs [Expected]: Not <Match>null issue " , ( ) => { } ) ;
1048- xit ( "line: 204 - aspect [Actual]: <Match>null vs [Expected]: Not <Match>null issue " , ( ) => { } ) ;
1051+ xit ( "line: 203 - test appears to be incorrect? " , ( ) => { } ) ;
1052+ xit ( "line: 204 - test appears to be incorrect? " , ( ) => { } ) ;
10491053it ( "line: 205 - matches ^ a\\ b[c ]d $ against 'abcd'" , ( ) => {
10501054 expectNotMatch ( "^ a\\ b[c ]d $" , [ "abcd" ] ) ;
10511055} ) ;
@@ -1352,7 +1356,7 @@ it("line: 1083 - matches ^[ab]{1,3}(ab*?|b) against 'The quick brown fox'", () =
13521356xit ( "line: 1084 - back references are not supported" , ( ) => { } ) ;
13531357xit ( "line: 1085 - back references are not supported" , ( ) => { } ) ;
13541358xit ( "line: 1086 - test encoding issue" , ( ) => { } ) ;
1355- xit ( "line: 1087 - requires triage " , ( ) => { } ) ;
1359+ xit ( "line: 1087 - test requires a substring function " , ( ) => { } ) ;
13561360xit ( "line: 1088 - requires triage" , ( ) => { } ) ;
13571361it ( "line: 1089 - matches abc\\x0def\\x00pqr\\x000xyz\\x0000AB against 'abc456 abc\x0def\x00pqr\x000xyz\x0000ABCDE'" , ( ) => {
13581362 const match = exec (
@@ -1506,8 +1510,13 @@ it("line: 1144 - matches ^[W-c]+$ against 'WXY_^abc'", () => {
15061510 const match = exec ( "^[W-c]+$" , "WXY_^abc" , "s" ) ;
15071511 expect ( match . matches [ 0 ] ) . toBe ( "WXY_^abc" . substring ( 0 , 8 ) ) ;
15081512} ) ;
1509- xit ( "line: 1145 - as-pect test issue" , ( ) => { } ) ;
1510- xit ( "line: 1146 - as-pect test issue" , ( ) => { } ) ;
1513+ it ( "line: 1145 - matches ^[W-c]+$ against 'wxy'" , ( ) => {
1514+ expectNotMatch ( "^[W-c]+$" , [ "wxy" ] ) ;
1515+ } ) ;
1516+ it ( "line: 1146 - matches ^[W-c]+$ against 'WXY_^abc'" , ( ) => {
1517+ const match = exec ( "^[W-c]+$" , "WXY_^abc" , "is" ) ;
1518+ expect ( match . matches [ 0 ] ) . toBe ( "WXY_^abc" . substring ( 0 , 8 ) ) ;
1519+ } ) ;
15111520xit ( "line: 1147 - requires triage" , ( ) => { } ) ;
15121521xit ( "line: 1148 - requires triage" , ( ) => { } ) ;
15131522xit ( "line: 1149 - requires triage" , ( ) => { } ) ;
0 commit comments