1 ! Copyright (C) 2020 Alexander Ilin.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: io.directories io.files.trash kernel tools.test ;
4 IN: io.files.trash.tests
7 ! temp-file is not used here, because it returns the absolute path, and we
8 ! want to ensure send-to-trash works without giving it the full path.
9 [ "io.files.trash-tests" dup touch-file send-to-trash ] with-test-directory