Use the right wasm feature flags

This commit is contained in:
Richard Feldman 2022-10-31 15:26:10 -04:00
parent 81254ecb77
commit 367d4fbb71
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -561,7 +561,7 @@ fn four_element_record() {
);
}
#[cfg(not(wasm))]
#[cfg(not(feature = "wasm"))]
#[test]
fn multiline_string_non_wasm() {
// If a string contains newlines, format it as a multiline string in the output.
@ -588,7 +588,7 @@ fn multiline_string_non_wasm() {
assert!(out.status.success());
}
#[cfg(wasm)]
#[cfg(feature = "wasm")]
#[test]
fn multiline_string_wasm() {
// If a string contains newlines, format it as a multiline string in the output