Skip to content

Commit 1748744

Browse files
committed
OS X is "macos", not "darwin"
1 parent 5f99764 commit 1748744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/hashmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() {
3030
let _map : HashMap<i32, i32, BuildHasherDefault<collections::hash_map::DefaultHasher>> = Default::default();
3131

3232
// TODO: Implement random number generation on OS X
33-
if cfg!(not(target_os = "darwin")) {
33+
if cfg!(not(target_os = "macos")) {
3434
let map_normal: HashMap<i32, i32> = HashMap::new();
3535
test_map(map_normal);
3636
} else {

0 commit comments

Comments
 (0)