Skip to content

Commit 658a0e9

Browse files
chipshortmergify[bot]
authored andcommitted
Fix typos
(cherry picked from commit af9d6cb) # Conflicts: # packages/vm/src/modules/file_system_cache.rs
1 parent c6b71ed commit 658a0e9

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

packages/std/src/math/signed_decimal_256.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl SignedDecimal256 {
108108
/// Create a -1.0 SignedDecimal256
109109
#[inline]
110110
pub const fn negative_one() -> Self {
111-
// -DECIMAL_FRATIONAL
111+
// -DECIMAL_FRACTIONAL
112112
Self(Int256::from_i128(-1_000_000_000_000_000_000))
113113
}
114114

packages/vm/src/modules/file_system_cache.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,12 +406,27 @@ mod tests {
406406
};
407407
let target = Target::new(triple, wasmer::CpuFeature::POPCNT.into());
408408
let p = modules_path(&base, 17, &target);
409+
<<<<<<< HEAD
409410
assert_eq!(
410411
p.as_os_str(),
411412
if cfg!(windows) {
412413
"modules\\v12-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
413414
} else {
414415
"modules/v12-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
416+
=======
417+
let discriminator = raw_module_version_discriminator();
418+
419+
assert_eq!(
420+
p.as_os_str(),
421+
if cfg!(windows) {
422+
format!(
423+
"modules\\{discriminator}-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
424+
)
425+
} else {
426+
format!(
427+
"modules/{discriminator}-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
428+
)
429+
>>>>>>> af9d6cb29 (Fix typos)
415430
}
416431
);
417432
}

0 commit comments

Comments
 (0)