Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
speed2exe committed Dec 5, 2024
1 parent 620babd commit 295508f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ mod tests {

// Convert cell to JSON
let value = option.json_cell(&cell);
assert_eq!(value, Value::String("true".to_string()));
assert_eq!(value, Value::Bool(true));

// Test with empty data
let empty_cell = new_cell_builder(FieldType::Checkbox);
let empty_value = option.json_cell(&empty_cell);
assert_eq!(empty_value, Value::String("".to_string()));
assert_eq!(empty_value, Value::Bool(false));
}

#[test]
Expand Down

0 comments on commit 295508f

Please sign in to comment.