From b9b74564793e80ae7b65f128d3da50bc2a36c59e Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Fri, 24 Mar 2023 17:12:49 +0000 Subject: [PATCH 1/2] Use dart test for attributed_text This package does not have a dependency on `flutter_test` and so there is no guarantee that the version of `test_api` from the pub solve is compatible with the `flutter test` command. See https://github.com/flutter/flutter/issues/91107 --- flutter_test_registry/flutter_test_repo_test.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_test_registry/flutter_test_repo_test.bat b/flutter_test_registry/flutter_test_repo_test.bat index c6c839863f..2184053eb1 100755 --- a/flutter_test_registry/flutter_test_repo_test.bat +++ b/flutter_test_registry/flutter_test_repo_test.bat @@ -1,5 +1,5 @@ PUSHD attributed_text -CALL flutter test || GOTO :END +CALL dart test || GOTO :END POPD PUSHD super_editor From 377aba610b53e3cc191ffe7d7df4594e74420097 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Fri, 24 Mar 2023 19:07:53 +0000 Subject: [PATCH 2/2] Also fix in flutter_test_repo_test.sh --- flutter_test_registry/flutter_test_repo_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_test_registry/flutter_test_repo_test.sh b/flutter_test_registry/flutter_test_repo_test.sh index 9f1ad6491f..595cf84080 100755 --- a/flutter_test_registry/flutter_test_repo_test.sh +++ b/flutter_test_registry/flutter_test_repo_test.sh @@ -1,5 +1,5 @@ set -e -(cd ./attributed_text; flutter test) +(cd ./attributed_text; dart test) (cd ./super_editor; flutter test) (cd ./super_text_layout; flutter test)