//! > Test expansion of a component without body.

//! > test_runner_name
ExpandContractTestRunner(expect_diagnostics: true)

//! > cairo_code
#[starknet::component]
mod test_component;

//! > generated_cairo_code
lib.cairo:

#[starknet::component]
mod test_component;

//! > expected_diagnostics
error: Plugin diagnostic: Components without body are not supported.
 --> lib.cairo:1:1-2:19
  #[starknet::component]
 _^
| mod test_component;
|___________________^

error[E0005]: Module file not found. Expected path: test_component.cairo
 --> lib.cairo:1:1-2:19
  #[starknet::component]
 _^
| mod test_component;
|___________________^
