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