Skip to content

Commit 837bcc2

Browse files
committed
Small edits
1 parent daf34b6 commit 837bcc2

File tree

1 file changed

+2
-5
lines changed
  • webrtc-audio-processing-sys/src

1 file changed

+2
-5
lines changed

webrtc-audio-processing-sys/src/lib.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ mod tests {
233233
fn test_config_bindings_coverage() {
234234
use std::collections::HashSet;
235235

236-
// Helper to normalize field names into groups
236+
// Helper to normalize field names into groups - very ugly
237237
fn normalize_group_name(field: &str) -> Option<String> {
238238
let field = field.trim_matches(|c: char| c == '{' || c == '}' || c == ',' || c == ' ');
239239
if field.is_empty()
@@ -243,6 +243,7 @@ mod tests {
243243
}
244244

245245
// Handle special cases and normalize the field name
246+
// There might be some easier way to do this.
246247
let group = if field.contains("echo_audibility") {
247248
"echo_audibility"
248249
} else if field.contains("render_levels") {
@@ -278,10 +279,6 @@ mod tests {
278279
}
279280
}
280281

281-
// Debug output
282-
println!("Debug representation:\n{:#?}", config);
283-
println!("Found groups: {:?}", found_groups);
284-
285282
// Define expected groups based on C++ header
286283
let expected_groups = [
287284
"buffering",

0 commit comments

Comments
 (0)