diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c index 4ad3dd3..b463f89 100644 --- a/test/test.c +++ b/test/test.c @@ -79,9 +79,9 @@ int main() { fclose(result); } - // try to shorten the URL (#40) - /* assert(system("echo about:blank > ../fs/mnt/tabs/last-focused/url.txt") == 0); */ - /* assert(file_contents_equal("../fs/mnt/tabs/last-focused/url.txt", "about:blank")); */ + // try to truncate & stomp the URL (#40) + assert(system("echo about:blank > ../fs/mnt/tabs/last-focused/url.txt") == 0); + assert(file_contents_equal("../fs/mnt/tabs/last-focused/url.txt", "about:blank")); assert(system("echo remove > ../fs/mnt/tabs/last-focused/control") == 0); } |