in_edit.c
v22.2b14/testsuite/single/tests/efuns/in_edit.c · 188 B
From the archive beta.tar.gz
Download the archive « Back to the archive contents
void do_tests() {
#ifndef __OLD_ED__
ASSERT(!in_edit(this_object()));
ed_start("/ed_test");
ASSERT(in_edit(this_object()) == "/ed_test");
destruct(this_object());
#endif
}