Browse Source

psopacketdata derives in tests

pull/3/head
jake 5 years ago
parent
commit
b7d4533aec
  1. 6
      src/lib.rs

6
src/lib.rs

@ -337,7 +337,7 @@ mod test {
#[test] #[test]
fn test_derive_pso_data_packet() { fn test_derive_pso_data_packet() {
#[derive(PSOPacketData, Debug, PartialEq)]
#[derive(PSOPacketData)]
struct Test { struct Test {
a: u8, a: u8,
b: u32, b: u32,
@ -364,7 +364,7 @@ mod test {
#[test] #[test]
fn test_derive_pso_data_packet_array() { fn test_derive_pso_data_packet_array() {
#[derive(PSOPacketData, Debug, PartialEq)]
#[derive(PSOPacketData)]
struct Test { struct Test {
a: u8, a: u8,
b: u32, b: u32,
@ -394,7 +394,7 @@ mod test {
#[test] #[test]
fn test_derive_pso_data_packet_not_enough_data() { fn test_derive_pso_data_packet_not_enough_data() {
#[derive(PSOPacketData, Debug, PartialEq)]
#[derive(PSOPacketData)]
struct Test { struct Test {
a: u8, a: u8,
b: u32, b: u32,

Loading…
Cancel
Save