You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #13929 - ehuss:squelch-unittest-warnings, r=weihanglo
Silence warnings running embedded unittests.
The `util::toml::embedded::test_expand` unittests were printing warnings directly to stderr, circumventing the libtest override. They were displaying ``warning: `package.edition` is unspecified, defaulting to `2021` ``. That warning doesn't look particularly important for those tests, so this changes it to swallow the output.
We may want to have some kind of utility function for generating a GlobalContext for testing purposes that does this, since this is a repeated pattern.
0 commit comments