ChaiScript/unittests/failed_deep_include.chai
2018-05-29 07:45:43 -06:00

12 lines
204 B
ChaiScript

try {
use("failed_deep_include.inc")
assert_true(false);
} catch (e) {
puts("Caught exception while trying to use file");
assert_equal(e.what(), "File Not Found: totally_missing_file.inc");
}