Skip to content

Commit

Permalink
use ExtendedId
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Jun 21, 2023
1 parent 605ffd5 commit 278f765
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ impl CANSourceReader {
mod tests {

use crate::stream_engine::{autonomous_executor::row::SchemalessRow, SqlValue};
use socketcan::ExtendedId;

use super::*;

Expand All @@ -124,7 +125,7 @@ mod tests {
let can_id = 1;
let can_data = &[0x00u8, 0x01];

let frame = CanFrame::new(can_id, can_data).unwrap();
let frame = CanFrame::new(ExtendedId::new(can_id).unwrap(), can_data).unwrap();
let source_row = CANSourceReader::_can_frame_into_row(frame);
let row = SchemalessRow::try_from(source_row).unwrap();

Expand Down

0 comments on commit 278f765

Please sign in to comment.