Closed
Description
The new version of pub breaks existing tests, because it requires a .pubspec.lock file and a .packages file to run pub build.
The test dart2js/source_map_pub_build_validity_test copies the sunflower sample to a new directory and runs pub build on it.
The new version of pub fails with an error, saying pub get must be run first.
Also, if pub get has been run, from a prior version of pub, pub build fails and says a .packages file must be present.