Skip to content

Commit 2f5cd2b

Browse files
committed
tests
1 parent 5cc2957 commit 2f5cd2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rust-tests/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ mod tests {
313313
let mut variant = BTreeMap::new();
314314
variant.insert("target_platform".into(), host_subdir().into());
315315
let hash = HashInfo::from_variant(&variant, &NoArchType::none());
316-
let pkg_hash = format!("pkg_hash-1.0.0-{hash}_my_pkg.tar.bz2");
316+
let pkg_hash = format!("pkg_hash-1.0.0-h{hash}_my_pkg.tar.bz2");
317317
let pkg = pkg.display().to_string();
318318
assert!(pkg.ends_with(&pkg_hash));
319319
}
@@ -647,8 +647,8 @@ build:
647647
script:
648648
content: |
649649
echo "Testing Python installation"
650-
${{ PYTHON }} --version
651-
${{ PYTHON }} --help
650+
python --version
651+
python --help
652652
requirements:
653653
host:
654654
- python
@@ -668,7 +668,7 @@ package:
668668
build:
669669
script:
670670
content:
671-
- ${{ PYTHON }} --help
671+
- python --help
672672
requirements:
673673
host:
674674
- python

0 commit comments

Comments
 (0)