File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/legacy-cli/e2e/tests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function() {
1212 '<p i18n>Hello world</p>' ) )
1313 . then ( ( ) => ng ( 'xi18n' , '--i18n-locale' , 'fr' ) )
1414 . then ( ( output ) => {
15- if ( ! output . stdout . match ( / s t a r t i n g f r o m A n g u l a r v 4 / ) ) {
15+ if ( ! output . stderr . match ( / s t a r t i n g f r o m A n g u l a r v 4 / ) ) {
1616 return expectFileToMatch ( 'src/messages.xlf' , 'source-language="fr"' ) ;
1717 }
1818 } ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default async function () {
1717 . then ( ( ) => silentNpm ( 'install' , `typescript@${ unsupportedTsVersion } ` , '--no-save' ) )
1818 . then ( ( ) => ng ( 'build' ) )
1919 . then ( ( output ) => {
20- if ( ! output . stdout . match ( 'Using this version can result in undefined behaviour' ) ) {
20+ if ( ! output . stderr . match ( 'Using this version can result in undefined behaviour' ) ) {
2121 throw new Error ( 'Expected to have typescript version mismatch warning in output.' ) ;
2222 }
2323 } ) ;
You can’t perform that action at this time.
0 commit comments