Skip to content

Commit

Permalink
runner_crate -> exercise_crate (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
shramee authored Nov 20, 2023
1 parent eddd960 commit c8d77d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion runner-crate/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version = 1

[[package]]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"
2 changes: 1 addition & 1 deletion runner-crate/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions src/scarb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ pub fn scarb_test(file_path: &PathBuf) -> anyhow::Result<String> {
.unwrap_or(default_target_dir)
.join(profile);

// Loop through packages, but only process 'runner_crate'
// Loop through packages, but only process 'exercise_crate'
// Largely same as this
// https://github.com/software-mansion/scarb/blob/ff98a787cfc0d94adcc7394fa83348bc01f437d5/extensions/scarb-cairo-test/src/main.rs#L54
for package in metadata.packages.iter() {
if package.name != "runner_crate" {
if package.name != "exercise_crate" {
continue;
}
// Loop through targets and run compiled file tests
Expand Down
2 changes: 1 addition & 1 deletion tests/fixture/cairo/runner-crate/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version = 1

[[package]]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"
2 changes: 1 addition & 1 deletion tests/fixture/cairo/runner-crate/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "runner_crate"
name = "exercise_crate"
version = "0.1.0"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
Expand Down

0 comments on commit c8d77d4

Please sign in to comment.