• sjindel-google's avatar
    Don't print warning message when running benchmarks test. (#33842) · f83df74b
    sjindel-google authored
    # Description
    Currently the benchmarks test prints a scary warning message, even when it passes, that a benchmark is being run with asserts enabled.
    
    Normally we don't want developers to do this, because the performance of code with asserts is not characteristic of what end-users will experience. However, we need to unit-test benchmarkWidgets, so I've added a contraindicated option to suppress the warning for the test.
    
    # Related Issues
    25049 (comment)
    f83df74b
Name
Last commit
Last update
..
src Loading commit data...
flutter_test.dart Loading commit data...