Fix test
This commit is contained in:
parent
910baed09e
commit
da82d2dd88
@ -303,7 +303,7 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_mode() {
|
fn test_mode() {
|
||||||
let mode = RepaintMode::Area(ModelRect::point(1, 1));
|
let mode = RepaintMode::Area(ModelRect::point(1, 1));
|
||||||
mode.join(&RepaintMode::Nothing);
|
let mode = mode.join(RepaintMode::Nothing);
|
||||||
|
|
||||||
match mode {
|
match mode {
|
||||||
RepaintMode::Area(ref rect) => {
|
RepaintMode::Area(ref rect) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user