From 818e8aa340231ec066bfdebf73728e1eaa8fa1cc Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Mon, 26 Oct 2020 16:39:08 -0700 Subject: [PATCH] add a package config file to const finder test fixtures (#22124) Adds a package config file to the const finder test fixtures to unblock the null safety flag removal change. Otherwise these fixtures get opted in to null safety and some constants are missing (presumably because they are invalid). Related dart-lang/sdk#43872 --- .../test/fixtures/.dart_tool/package_config.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/const_finder/test/fixtures/.dart_tool/package_config.json diff --git a/tools/const_finder/test/fixtures/.dart_tool/package_config.json b/tools/const_finder/test/fixtures/.dart_tool/package_config.json new file mode 100644 index 00000000000..a820d2e6b22 --- /dev/null +++ b/tools/const_finder/test/fixtures/.dart_tool/package_config.json @@ -0,0 +1,15 @@ +{ + "configVersion": 2, + "packages": [ + { + "name": "const_finder_fixtures", + "rootUri": "../lib/", + "languageVersion": "2.9" + }, + { + "name": "const_finder_fixtures_package", + "rootUri": "../pkg/", + "languageVersion": "2.9" + } + ] +}