diff --git a/irp/tests/bpf_decoding.rs b/irp/tests/bpf_decoding.rs index 899d0aa..6510bed 100644 --- a/irp/tests/bpf_decoding.rs +++ b/irp/tests/bpf_decoding.rs @@ -50,6 +50,8 @@ fn decode_all() { let max_gap = if protocol.name == "Epson" { 100000 + } else if protocol.name == "NRC17" { + 110500 } else { 20000 }; @@ -161,7 +163,7 @@ fn decode_all() { failing_protocols.len() ); - assert_eq!(failing_protocols.len(), 39); + assert_eq!(failing_protocols.len(), 38); } fn bpf_decode(dfa: &DFA, options: &Options, name: &str, message: &Message) -> Vec { diff --git a/irp/tests/tests.rs b/irp/tests/tests.rs index 0829ee4..7c224a7 100644 --- a/irp/tests/tests.rs +++ b/irp/tests/tests.rs @@ -456,6 +456,8 @@ fn decode_all() { let max_gap = if protocol.name == "Epson" { 100000 + } else if protocol.name == "NRC17" { + 110500 } else { 20000 }; @@ -571,7 +573,7 @@ fn decode_all() { println!("tests: {total_tests} fails: {fails}"); println!("Failed protocols: {failed_protocols:?}"); - let expected_failures = HashSet::from(["Pioneer-2Part", "NRC17", "Epson", "F12x", "Roku-8bit"]); + let expected_failures = HashSet::from(["Pioneer-2Part", "Epson", "F12x", "Roku-8bit"]); assert_eq!(failed_protocols, expected_failures); }