From 6b3e89927c1be02bb36c92303e4f493e6c4cb3ca Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Mon, 28 Aug 2023 09:14:02 +0000 Subject: [PATCH] Fix test expectation --- test/version_solver_test.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/version_solver_test.dart b/test/version_solver_test.dart index b9ec6a2e9..feb3977d4 100644 --- a/test/version_solver_test.dart +++ b/test/version_solver_test.dart @@ -1445,12 +1445,10 @@ void sdkConstraint() { await expectResolves( environment: {'FLUTTER_ROOT': p.join(d.sandbox, 'flutter')}, - error: equalsIgnoringWhitespace(''' - The current Dart SDK version is 3.1.2+3. + error: contains(''' +The current Dart SDK version is 3.1.2+3. - Because myapp requires SDK version >3.1.2+3, version solving - failed. - '''), +Because myapp requires SDK version >3.1.2+3, version solving failed.'''), ); });