Fork me on GitHub

How would I unit test an interactive function that kills a specific region? I'm looking for examples because my test doesn't seem to register when it hits the function that there's an active region.


I ended up doign this

(goto-char 0)
    (push-mark 5 t)
I've seen examples using set-mark but didn't really get that working, not sure if this ideomatic