To me this feels like it would test what the code does, not what the code is _supposed_ to do.
Tests should in my opinion validate the intent behind code, not the actual function itself.
Tests should in my opinion validate the intent behind code, not the actual function itself.
That’s probably why they specify that it’s for regression tests which are meant to do exactly that - test that future changes to the code do not change the current behavior unintentionally