@@ -88,7 +88,7 @@ test("- parameter with invalid input from stdin", (t) => {
8888 then ( ( ) => t . fail ( ) ) .
8989 catch ( ( error ) => {
9090 t . is ( error . exitCode , 1 ) ;
91- t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 M D 0 4 7 \/ .* $ / mu, "" ) ) ;
91+ t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 e r r o r M D 0 4 7 \/ .* $ / mu, "" ) ) ;
9292 } ) ;
9393} ) ;
9494
@@ -101,7 +101,7 @@ test("- parameter with invalid input from stdin and --fix", (t) => {
101101 then ( ( ) => t . fail ( ) ) .
102102 catch ( ( error ) => {
103103 t . is ( error . exitCode , 1 ) ;
104- t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 M D 0 4 7 \/ .* $ / mu, "" ) ) ;
104+ t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 e r r o r M D 0 4 7 \/ .* $ / mu, "" ) ) ;
105105 } ) ;
106106} ) ;
107107
@@ -114,7 +114,7 @@ test("- parameter multiple times with invalid input", (t) => {
114114 then ( ( ) => t . fail ( ) ) .
115115 catch ( ( error ) => {
116116 t . is ( error . exitCode , 1 ) ;
117- t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 M D 0 4 7 \/ .* $ / mu, "" ) ) ;
117+ t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 e r r o r M D 0 4 7 \/ .* $ / mu, "" ) ) ;
118118 } ) ;
119119} ) ;
120120
@@ -137,7 +137,7 @@ test("- parameter with invalid input combined with valid globs", (t) => {
137137 then ( ( ) => t . fail ( ) ) .
138138 catch ( ( error ) => {
139139 t . is ( error . exitCode , 1 ) ;
140- t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 M D 0 4 7 \/ .* $ / mu, "" ) ) ;
140+ t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 e r r o r M D 0 4 7 \/ .* $ / mu, "" ) ) ;
141141 } ) ;
142142} ) ;
143143
@@ -150,7 +150,7 @@ test("- parameter with invalid input combined with invalid glob", (t) => {
150150 then ( ( ) => t . fail ( ) ) .
151151 catch ( ( error ) => {
152152 t . is ( error . exitCode , 1 ) ;
153- t . is ( "" , error . stderr . replace ( / ^ L I C E N S E : 1 M D 0 4 1 \/ .* $ [ \n \r ] + ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 M D 0 4 7 \/ .* $ / mu, "" ) ) ;
153+ t . is ( "" , error . stderr . replace ( / ^ L I C E N S E : 1 e r r o r M D 0 4 1 \/ .* $ [ \n \r ] + ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ [ \n \r ] + ^ s t d i n : 3 : 4 e r r o r M D 0 4 7 \/ .* $ / mu, "" ) ) ;
154154 } ) ;
155155} ) ;
156156
@@ -164,7 +164,7 @@ test("- parameter uses base directory configuration", (t) => {
164164 then ( ( ) => t . fail ( ) ) .
165165 catch ( ( error ) => {
166166 t . is ( error . exitCode , 1 ) ;
167- t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 M D 0 1 9 \/ .* $ / mu, "" ) ) ;
167+ t . is ( "" , error . stderr . replace ( / ^ s t d i n : 1 : 3 e r r o r M D 0 1 9 \/ .* $ / mu, "" ) ) ;
168168 } ) ;
169169} ) ;
170170
0 commit comments