Skip to content

Commit 8be432e

Browse files
committed
uutests: fix the doc
1 parent bb8c043 commit 8be432e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
55

6-
// Then override the macro with your constant
76
use std::env;
87

98
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_coreutils");
@@ -12,6 +11,7 @@ pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_coreutils");
1211
#[ctor::ctor]
1312
fn init() {
1413
unsafe {
14+
// Necessary for uutests to be able to find the binary
1515
std::env::set_var("UUTESTS_BINARY_PATH", TESTS_BINARY);
1616
}
1717
}

0 commit comments

Comments
 (0)