()
| 389 | |
| 390 | #[test] |
| 391 | fn test_limit() -> ResultTest<()> { |
| 392 | let (db, _) = create_data(5)?; |
| 393 | |
| 394 | let result = run_for_testing(&db, "SELECT * FROM inventory limit 2")?; |
| 395 | |
| 396 | let (_, input) = create_data(2)?; |
| 397 | |
| 398 | assert_eq!(result, input.data, "Inventory"); |
| 399 | Ok(()) |
| 400 | } |
| 401 | |
| 402 | #[test] |
| 403 | fn test_count() -> ResultTest<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…