Skip to content

Commit 27c2ac2

Browse files
authored
docs: move resources folder (#21)
1 parent f8bc36c commit 27c2ac2

14 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Building a service using the framework's SDK must adhere to the following points
4747
### Example of a service
4848

4949
The following example demonstrates how to create a service of a `script`
50-
type. The `Service` structure implements the trait [ScriptService](src/service/script/mod.rs)
50+
type. The `Service` structure implements the trait [ScriptService](mikros/src/service/script.rs)
5151
that makes it being supported by this type of service inside the framework.
5252

5353
```rust

mikros/src/definition.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ mod tests {
257257

258258
fn assets_path() -> std::path::PathBuf {
259259
let mut p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
260+
p.pop();
260261
p.push("resources/test");
261262
p
262263
}

mikros/src/env.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ mod tests {
8484

8585
fn assets_path() -> std::path::PathBuf {
8686
let mut p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
87+
p.pop();
8788
p.push("resources/test");
8889
p
8990
}

mikros/src/errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ mod tests {
309309

310310
fn assets_path() -> std::path::PathBuf {
311311
let mut p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
312+
p.pop();
312313
p.push("resources/test");
313314
p
314315
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)