Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit ead5e29

Browse files
achimccAchim Schneider
authored andcommitted
EXAMPLE_CODE_PATH move to tests
1 parent af48c22 commit ead5e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sandbox/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
2121
mod build_command;
2222
mod docker_command;
23-
const EXAMPLE_CODE_PATH: &str = "../../contract/lib.rs";
2423

2524
use crate::build_command::{
2625
build_compile_command,
@@ -375,6 +374,7 @@ fn vec_to_str(v: Vec<u8>) -> Result<String> {
375374
#[cfg(test)]
376375
mod tests {
377376
use super::*;
377+
const EXAMPLE_CODE_PATH: &str = "../../contract/lib.rs";
378378

379379
fn compile_check(source: String) -> Option<bool> {
380380
Sandbox::new()

0 commit comments

Comments
 (0)