From 29e32821b776a33c702caedd281140dbbecb5624 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 8 Oct 2024 14:52:37 -0700 Subject: [PATCH 1/2] update test expectation for newer versions of package:args --- test/options_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/options_test.dart b/test/options_test.dart index ecef16c69c..b69a65be32 100644 --- a/test/options_test.dart +++ b/test/options_test.dart @@ -632,7 +632,7 @@ class Foo {} throwsA(isA().having( (e) => e.toString(), 'toString', - contains('Could not find an option named "nonexistent".'), + contains('Could not find an option named.'), )), ); } From a87eacffd13a4ba6922c5c502afb81bd2c9fc37d Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 8 Oct 2024 14:59:22 -0700 Subject: [PATCH 2/2] adjust test expectation --- test/options_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/options_test.dart b/test/options_test.dart index b69a65be32..22b34e8127 100644 --- a/test/options_test.dart +++ b/test/options_test.dart @@ -632,7 +632,7 @@ class Foo {} throwsA(isA().having( (e) => e.toString(), 'toString', - contains('Could not find an option named.'), + contains('Could not find an option named'), )), ); }