Skip to content

Commit 5d8dc64

Browse files
committed
remove irrelevent comment
1 parent eda0663 commit 5d8dc64

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/node/audio_buffer_source.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,7 @@ mod tests {
899899
fn test_sub_quantum_start_2() {
900900
let sample_rate = 44_100.;
901901
let length_in_seconds = 4.;
902-
let mut context =
903-
OfflineAudioContext::new(2, (length_in_seconds * sample_rate) as usize, sample_rate);
902+
let mut context = OfflineAudioContext::new(2, (length_in_seconds * sample_rate) as usize, sample_rate);
904903

905904
let mut dirac = context.create_buffer(2, 512, sample_rate);
906905
dirac.copy_to_channel(&[1.], 0);
@@ -926,11 +925,7 @@ mod tests {
926925
// assert we got our dirac at each defined offsets
927926

928927
sample_offsets.iter().for_each(|index| {
929-
assert_ne!(
930-
channel_left[*index], 0.,
931-
"non zero sample at index {:?}",
932-
index
933-
);
928+
assert_ne!(channel_left[*index], 0., "non zero sample at index {:?}", index);
934929
});
935930
}
936931

@@ -979,7 +974,6 @@ mod tests {
979974
assert_float_eq!(channel[..], expected[..], abs_all <= 0.);
980975
}
981976

982-
// this is now failing somehow...
983977
#[test]
984978
fn test_sub_quantum_stop_slow_track() {
985979
let sample_rate = 48_000.;

0 commit comments

Comments
 (0)