oxidecomputer / dropshot

expose REST APIs from a Rust program
Apache License 2.0
794 stars 73 forks source link

[1/n] [dropshot] add bad_channel fixtures #1007

Closed sunshowers closed 1 month ago

sunshowers commented 2 months ago

I'm going to be touching a bunch of this code soon, and I realized we didn't really have any fixtures to check that we were producing good error messages for channels. So add some, mirroring the bad_endpoint fixtures.

The current bad_channel tests provide a baseline -- we can definitely do better for some of these tests. For now, we can ensure that we aren't regressing them.

sunshowers commented 1 month ago

if you want to update copyright notices to 2024

oh yeah I should do this, haha