fix geadline
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
yo
|
||||
bozo
|
||||
z^[[Dbo^[[C^[[C^[[Co
|
||||
z[Dbo[C[C[Co
|
||||
|
@ -6,17 +6,13 @@ main()
|
||||
|
||||
ptr = geadline("");
|
||||
test_str(ptr, "yo", "");
|
||||
free(ptr);
|
||||
|
||||
ptr = geadline("");
|
||||
test_str(ptr, "bozo", "");
|
||||
free(ptr);
|
||||
|
||||
ptr = geadline("");
|
||||
test_str(ptr, "bozo", "arrow");
|
||||
free(ptr);
|
||||
|
||||
ptr = geadline("");
|
||||
test_num(ptr, 0, "");
|
||||
free(ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user