Files
diodeinc__pcb/crates/pcb-star/tests/module_naming.rs
Lenny Khazan e852477546 Initial release (#5)
* Initial release

* cargo-dist

* build and test CI

* update ubuntu workflow

* fmt

* ubuntu: install deps

* clippy: 0.1.88 fixes

* format

* install clippy

* Update README.md

* Don't run cargo-dist on PRs
2025-07-01 04:06:08 -04:00

20 lines
320 B
Rust

mod common;
use common::TestProject;
#[test]
fn module_loader_name_override() {
let env = TestProject::new();
env.add_file("sub.star", "# empty sub module\n");
env.add_file(
"top.star",
r#"
load(".", Sub = "sub")
Sub(name = "PowerStage")
"#,
);
star_snapshot!(env, "top.star");
}