Skip to main content

STRICT_WIRE_ENV

Constant STRICT_WIRE_ENV 

Source
pub const STRICT_WIRE_ENV: &'static str;
Expand description

The environment variable that turns on the test runtime’s strict decoding of an answer (responseToHttpResult): a smoke case fails on a status the runtime does not know, or a JSON body that does not decode as the route’s declared type, where an author’s own case gets the raw value to judge. 1 when a smoke run treats an undeclared wire shape as a failure.