Skip to content

Commit be79da3

Browse files
authored
Merge pull request #19 from tinyhumansai/legacy-test-renames
test: rename legacy test.rs and *_test.rs files to *_tests.rs
2 parents 48faeed + 9106bf3 commit be79da3

62 files changed

Lines changed: 32 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AGENTS.md‎

Lines changed: 0 additions & 3 deletions

‎crates/tinybox-cli/src/command/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,4 +1255,5 @@ where
12551255
}
12561256

12571257
#[cfg(test)]
1258+
#[path = "mod_tests.rs"]
12581259
mod test;
File renamed without changes.

‎crates/tinybox-cli/src/document/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ pub(crate) fn write<T: Serialize>(path: &Path, value: &T) -> Result<()> {
7373
}
7474

7575
#[cfg(test)]
76+
#[path = "mod_tests.rs"]
7677
mod test;
File renamed without changes.

‎crates/tinybox-cli/src/store/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,5 @@ struct Lock {
230230
}
231231

232232
#[cfg(test)]
233+
#[path = "mod_tests.rs"]
233234
mod test;

‎crates/tinybox-cli/src/templates/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,5 @@ impl Templates for FileTemplates {
8787
}
8888

8989
#[cfg(test)]
90+
#[path = "mod_tests.rs"]
9091
mod test;
File renamed without changes.

‎crates/tinybox-core/src/capability/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,5 @@ impl SandboxCapabilities {
178178
}
179179

180180
#[cfg(test)]
181+
#[path = "mod_tests.rs"]
181182
mod test;

0 commit comments

Comments
 (0)