()
| 480 | |
| 481 | #[test] |
| 482 | fn incr_new_key() { |
| 483 | let mut engine = make_engine(); |
| 484 | let result = engine.incr(1, "counters", b"hits", 10, 0, 1000); |
| 485 | assert_eq!(result.unwrap(), 10); |
| 486 | } |
| 487 | |
| 488 | #[test] |
| 489 | fn incr_existing_key() { |
nothing calls this directly
no test coverage detected