Skip to content

Commit

Permalink
test: refactor test expectations to use ignoringDependencyMessages (#687
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jessicatarra authored Mar 30, 2024
1 parent a1da197 commit 46c95ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/melos/test/commands/run_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void main() {

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run test_script
└> melos exec -- "echo hello"
Expand Down Expand Up @@ -147,7 +147,7 @@ melos run test_script

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run test_script
└> melos exec -- "echo hello"
Expand Down Expand Up @@ -216,7 +216,7 @@ melos run test_script

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run hello
└> echo foo bar baz
Expand Down Expand Up @@ -272,7 +272,7 @@ melos run hello

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
r'''
melos run hello
└> melos exec -- "echo foo bar baz"
Expand Down Expand Up @@ -337,7 +337,7 @@ melos run hello

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run test_script
└> melos exec --concurrency 1 -- "echo \\"hello\\""
Expand Down Expand Up @@ -704,7 +704,7 @@ melos run hello_script

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run hello_script
└> analyze
Expand Down Expand Up @@ -906,7 +906,7 @@ melos run hello_script

expect(
logger.output.normalizeNewLines(),
ignoringAnsii(
ignoringDependencyMessages(
'''
melos run hello_script
└> analyze --fatal-infos
Expand Down

0 comments on commit 46c95ae

Please sign in to comment.