• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[test]
test_manifest_dir()2 pub fn test_manifest_dir() {
3     let actual = include_str!(concat!(
4         env!("CARGO_MANIFEST_DIR"),
5         "/src/manifest_dir_file.txt"
6     ))
7     .trim_end();
8     let expected = "This file tests that CARGO_MANIFEST_DIR is set for the build environment";
9     assert_eq!(actual, expected);
10 }
11